UserManager.IsDemoUser Property

Definition

Checks if the calling app is running in 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

Boolean

whether the caller is a demo user.

Attributes

Remarks

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