Dela via


UserManager.IsProfile Property

Definition

Checks if the calling context user is running in a profile.

public virtual bool IsProfile { [Android.Runtime.Register("isProfile", "()Z", "GetIsProfileHandler", ApiSince=33)] get; }
[<get: Android.Runtime.Register("isProfile", "()Z", "GetIsProfileHandler", ApiSince=33)>]
member this.IsProfile : bool

Property Value

whether the caller is in a profile.

Attributes

Remarks

Checks if the calling context user is running in a profile. A profile is a user that typically has its own separate data but shares its UI with some parent user. For example, a #isManagedProfile() managed profile is a type of profile.

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

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