Udostępnij za pośrednictwem


ProviderInfo.FlagSingleUser Field

Definition

Caution

This constant will be removed in the future version. Use Android.Content.PM.ProviderInfoFlags enum directly instead of this field.

Bit in #flags: If set, a single instance of the provider will run for all users on the device.

[Android.Runtime.Register("FLAG_SINGLE_USER")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ProviderInfoFlags enum directly instead of this field.", true)]
public const Android.Content.PM.ProviderInfoFlags FlagSingleUser = 1073741824;
[<Android.Runtime.Register("FLAG_SINGLE_USER")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ProviderInfoFlags enum directly instead of this field.", true)>]
val mutable FlagSingleUser : Android.Content.PM.ProviderInfoFlags

Field Value

Value = 1073741824

Implements

Attributes

Remarks

Bit in #flags: If set, a single instance of the provider will run for all users on the device. Set from the android.R.attr#singleUser attribute.

Java documentation for android.content.pm.ProviderInfo.FLAG_SINGLE_USER.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to