Sdílet prostřednictvím


Context.ClearWallpaper Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("clearWallpaper", "()V", "GetClearWallpaperHandler")]
[System.Obsolete("deprecated")]
public abstract void ClearWallpaper ();
[<Android.Runtime.Register("clearWallpaper", "()V", "GetClearWallpaperHandler")>]
[<System.Obsolete("deprecated")>]
abstract member ClearWallpaper : unit -> unit
Attributes

Exceptions

Remarks

This member is deprecated. Use android.app.WallpaperManager#clear WallpaperManager.clear() instead. <p>This method requires the caller to hold the permission android.Manifest.permission#SET_WALLPAPER.

Java documentation for android.content.Context.clearWallpaper().

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