Partager via


UserManager.IsHeadlessSystemUserMode Property

Definition

Checks whether the device is running in a headless system user mode.

public static bool IsHeadlessSystemUserMode { [Android.Runtime.Register("isHeadlessSystemUserMode", "()Z", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("isHeadlessSystemUserMode", "()Z", "", ApiSince=31)>]
static member IsHeadlessSystemUserMode : bool

Property Value

whether the device is running in a headless system user mode.

Attributes

Remarks

Checks whether the device is running in a headless system user mode.

Headless system user mode means the #isSystemUser() system user runs system services and some system UI, but it is not associated with any real person and additional users must be created to be associated with real persons.

Java documentation for android.os.UserManager.isHeadlessSystemUserMode().

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