다음을 통해 공유


UserManager.DisallowSetWallpaper Field

Definition

User restriction to disallow setting a wallpaper.

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

Field Value

Attributes

Remarks

User restriction to disallow setting a wallpaper. Profile owner and device owner are able to set wallpaper regardless of this restriction. The default value is false.

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

Key for user restrictions.

Type: Boolean

Java documentation for android.os.UserManager.DISALLOW_SET_WALLPAPER.

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