WallpaperManager.WallpaperInfo Property

Definition

Returns the information about the home screen wallpaper if its current wallpaper is a live wallpaper component.

public virtual Android.App.WallpaperInfo? WallpaperInfo { [Android.Runtime.Register("getWallpaperInfo", "()Landroid/app/WallpaperInfo;", "GetGetWallpaperInfoHandler")] get; }
[<get: Android.Runtime.Register("getWallpaperInfo", "()Landroid/app/WallpaperInfo;", "GetGetWallpaperInfoHandler")>]
member this.WallpaperInfo : Android.App.WallpaperInfo

Property Value

Attributes

Remarks

Returns the information about the home screen wallpaper if its current wallpaper is a live wallpaper component. Otherwise, if the wallpaper is a static image, this returns null.

In order to use this, apps should declare a <queries> tag with the action "android.service.wallpaper.WallpaperService". Otherwise, this method will return null if the caller doesn't otherwise have visibility of the wallpaper package.

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

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