Freigeben über


DevicePolicyManager.UserRestrictionsGlobally Property

Definition

Called by a profile or device owner to get global user restrictions set with #addUserRestrictionGlobally(String).

public virtual Android.OS.Bundle UserRestrictionsGlobally { [Android.Runtime.Register("getUserRestrictionsGlobally", "()Landroid/os/Bundle;", "GetGetUserRestrictionsGloballyHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getUserRestrictionsGlobally", "()Landroid/os/Bundle;", "GetGetUserRestrictionsGloballyHandler", ApiSince=34)>]
member this.UserRestrictionsGlobally : Android.OS.Bundle

Property Value

a Bundle whose keys are the user restrictions, and the values a boolean indicating whether the restriction is set.

Attributes

Remarks

Called by a profile or device owner to get global user restrictions set with #addUserRestrictionGlobally(String).

To get all the user restrictions currently set for a certain user, use UserManager#getUserRestrictions().

Java documentation for android.app.admin.DevicePolicyManager.getUserRestrictionsGlobally().

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