See Also: WallpaperManager
public class WallpaperManager : Object
Provides access to the system wallpaper. With WallpaperManager, you can get the current wallpaper, get the desired dimensions for the wallpaper, set the wallpaper, and more. Get an instance of WallpaperManager with WallpaperManager.GetInstance(Context).
An app can check whether wallpapers are supported for the current user, by calling WallpaperManager.IsWallpaperSupported.
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5
The members of Android.App.WallpaperManager are listed below.
See Also: Object
|ActionChangeLiveWallpaper||String. Directly launch live wallpaper preview, allowing the user to immediately confirm to switch to a specific live wallpaper.|
|ActionCropAndSetWallpaper||String. Activity Action: Show settings for choosing wallpaper.|
|ActionLiveWallpaperChooser||String. Launch an activity for the user to pick the current global live wallpaper.|
|CommandDrop||String. Command for WallpaperManager.SendWallpaperCommand(IBinder,String,String,String,String,String): reported by the wallpaper host when the user drops an object into an area of the host.|
|CommandSecondaryTap||String. Command for WallpaperManager.SendWallpaperCommand(IBinder,String,String,String,String,String): reported by the wallpaper host when the user releases a secondary pointer on an empty area (not performing an action in the host).|
|CommandTap||String. Command for WallpaperManager.SendWallpaperCommand(IBinder,String,String,String,String,String): reported by the wallpaper host when the user taps on an empty area (not performing an action in the host).|
|ExtraLiveWallpaperComponent||String. Extra in WallpaperManager.ActionChangeLiveWallpaper that specifies the ComponentName of a live wallpaper that should be shown as a preview, for the user to confirm.|
|WallpaperPreviewMetaData||String. Manifest entry for activities that respond to Intent.ActionSetWallpaper which allows them to provide a custom large icon associated with this action.|
|[read-only]||BuiltInDrawable||Drawable. Returns a drawable for the system built-in static wallpaper .|
|[read-only]||DesiredMinimumHeight||Int32. Returns the desired minimum height for the wallpaper.|
|[read-only]||DesiredMinimumWidth||Int32. Returns the desired minimum width for the wallpaper.|
|[read-only]||Drawable||Drawable. Retrieve the current system wallpaper; if no wallpaper is set, the system built-in static wallpaper is returned.|
|[read-only]||FastDrawable||Drawable. Like WallpaperManager.Drawable, but the returned Drawable has a number of limitations to reduce its overhead as much as possible.|
|[read-only]||WallpaperInfo||WallpaperInfo. If the current wallpaper is a live wallpaper component, return the information about that wallpaper.|
Remove any currently set wallpaper, reverting to the system's built-in wallpaper.
Clear the offsets previously associated with this window through WallpaperManager.SetWallpaperOffsets(IBinder,Single,Single).
Remove all internal references to the last loaded wallpaper.
|GetBuiltInDrawable(Int32, Int32, Boolean, Single, Single)|
Returns a drawable for the system built-in static wallpaper.
Gets an Intent that will launch an activity that crops the given image and sets the device's wallpaper.
Retrieve a WallpaperManager associated with the given Context.
Return whether any users are currently set to use the wallpaper with the given resource ID.
Retrieve the current system wallpaper; if there is no wallpaper set, a null pointer is returned.
Like WallpaperManager.FastDrawable, but if there is no wallpaper set, a null pointer is returned.
|SendWallpaperCommand(IBinder, String, Int32, Int32, Int32, Bundle)|
Send an arbitrary command to the current active wallpaper.
Change the current system wallpaper to a bitmap.
Change the current system wallpaper to the bitmap in the given resource.
Change the current system wallpaper to a specific byte stream.
|SetWallpaperOffsets(IBinder, Single, Single)|
Set the position of the current wallpaper within any larger space, when that wallpaper is visible behind the given window.
For applications that use multiple virtual screens showing a wallpaper, specify the step size between virtual screens.
For use only by the current home application, to specify the size of wallpaper it would like to use.