Udostępnij za pośrednictwem


ServiceInfo.FlagSingleUser Field

Definition

Caution

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

Bit in #flags: If set, a single instance of the service 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.ServiceInfoFlags enum directly instead of this field.", true)]
public const Android.Content.PM.ServiceInfoFlags FlagSingleUser = 1073741824;
[<Android.Runtime.Register("FLAG_SINGLE_USER")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ServiceInfoFlags enum directly instead of this field.", true)>]
val mutable FlagSingleUser : Android.Content.PM.ServiceInfoFlags

Field Value

Value = 1073741824

Implements

Attributes

Remarks

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

Java documentation for android.content.pm.ServiceInfo.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