WallpaperManager.HasResourceWallpaper(Int32) Method

Definition

Return whether any users are currently set to use the wallpaper with the given resource ID.

[Android.Runtime.Register("hasResourceWallpaper", "(I)Z", "GetHasResourceWallpaper_IHandler")]
public virtual bool HasResourceWallpaper (int resid);
[<Android.Runtime.Register("hasResourceWallpaper", "(I)Z", "GetHasResourceWallpaper_IHandler")>]
abstract member HasResourceWallpaper : int -> bool
override this.HasResourceWallpaper : int -> bool

Parameters

resid
Int32

Returns

Attributes

Remarks

Return whether any users are currently set to use the wallpaper with the given resource ID. That is, their wallpaper has been set through #setResource(int) with the same resource id.

Java documentation for android.app.WallpaperManager.hasResourceWallpaper(int).

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