Udostępnij za pośrednictwem


WallpaperManager.ForgetLoadedWallpaper Method

Definition

Remove all internal references to the last loaded wallpaper.

[Android.Runtime.Register("forgetLoadedWallpaper", "()V", "GetForgetLoadedWallpaperHandler")]
public virtual void ForgetLoadedWallpaper ();
[<Android.Runtime.Register("forgetLoadedWallpaper", "()V", "GetForgetLoadedWallpaperHandler")>]
abstract member ForgetLoadedWallpaper : unit -> unit
override this.ForgetLoadedWallpaper : unit -> unit
Attributes

Remarks

Remove all internal references to the last loaded wallpaper. Useful for apps that want to reduce memory usage when they only temporarily need to have the wallpaper. After calling, the next request for the wallpaper will require reloading it again from disk.

Java documentation for android.app.WallpaperManager.forgetLoadedWallpaper().

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