Dela via


UserManager.IsDemoUser Property

Definition

Checks if the context user is a demo user.

public virtual bool IsDemoUser { [Android.Runtime.Register("isDemoUser", "()Z", "GetIsDemoUserHandler", ApiSince=25)] get; }
[<get: Android.Runtime.Register("isDemoUser", "()Z", "GetIsDemoUserHandler", ApiSince=25)>]
member this.IsDemoUser : bool

Property Value

whether the context user is a demo user.

Attributes

Remarks

Checks if the context user is a demo user. When running in a demo user, apps can be more helpful to the user, or explain their features in more detail.

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

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