Aracılığıyla paylaş


UserManager.DisallowSetUserIcon Field

Definition

Specifies if a user is not allowed to change their icon.

[Android.Runtime.Register("DISALLOW_SET_USER_ICON", ApiSince=24)]
public const string DisallowSetUserIcon;
[<Android.Runtime.Register("DISALLOW_SET_USER_ICON", ApiSince=24)>]
val mutable DisallowSetUserIcon : string

Field Value

Attributes

Remarks

Specifies if a user is not allowed to change their icon. Device owner and profile owner can set this restriction. When it is set by device owner, only the target user will be affected. The default value is false.

Holders of the permission android.Manifest.permission#MANAGE_DEVICE_POLICY_USERS can set this restriction using the DevicePolicyManager APIs mentioned below.

Key for user restrictions.

Type: Boolean

Java documentation for android.os.UserManager.DISALLOW_SET_USER_ICON.

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