Android.App.WallpaperManager Members

The members of Android.App.WallpaperManager are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
ActionChangeLiveWallpaperstring. Directly launch live wallpaper preview, allowing the user to immediately confirm to switch to a specific live wallpaper.
const
ActionCropAndSetWallpaperstring. Activity Action: Show settings for choosing wallpaper.
const
ActionLiveWallpaperChooserstring. Launch an activity for the user to pick the current global live wallpaper.
const
CommandDropstring. Command for WallpaperManager.SendWallpaperCommand(Android.OS.IBinder, System.String, System.String, System.String, System.String, System.String): reported by the wallpaper host when the user drops an object into an area of the host.
const
CommandSecondaryTapstring. Command for WallpaperManager.SendWallpaperCommand(Android.OS.IBinder, System.String, System.String, System.String, System.String, System.String): reported by the wallpaper host when the user releases a secondary pointer on an empty area (not performing an action in the host).
const
CommandTapstring. Command for WallpaperManager.SendWallpaperCommand(Android.OS.IBinder, System.String, System.String, System.String, System.String, System.String): reported by the wallpaper host when the user taps on an empty area (not performing an action in the host).
const
ExtraLiveWallpaperComponentstring. Extra in WallpaperManager.ActionChangeLiveWallpaper that specifies the ComponentName of a live wallpaper that should be shown as a preview, for the user to confirm.
const
WallpaperPreviewMetaDatastring. Manifest entry for activities that respond to Android.Content.Intent.ActionSetWallpaper which allows them to provide a custom large icon associated with this action.

Public Properties

[read-only]
BuiltInDrawableAndroid.Graphics.Drawables.Drawable. Returns a drawable for the system built-in static wallpaper .
[read-only]
DesiredMinimumHeightint. Returns the desired minimum height for the wallpaper.
[read-only]
DesiredMinimumWidthint. Returns the desired minimum width for the wallpaper.
[read-only]
DrawableAndroid.Graphics.Drawables.Drawable. Retrieve the current system wallpaper; if no wallpaper is set, the system built-in static wallpaper is returned.
[read-only]
FastDrawableAndroid.Graphics.Drawables.Drawable. Like WallpaperManager.Drawable, but the returned Drawable has a number of limitations to reduce its overhead as much as possible.
[read-only]
WallpaperInfoWallpaperInfo. If the current wallpaper is a live wallpaper component, return the information about that wallpaper.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Clear()
Remove any currently set wallpaper, reverting to the system's built-in wallpaper.
ClearWallpaperOffsets(Android.OS.IBinder)
Clear the offsets previously associated with this window through WallpaperManager.SetWallpaperOffsets(Android.OS.IBinder, System.Single, System.Single).
ForgetLoadedWallpaper()
Remove all internal references to the last loaded wallpaper.
GetBuiltInDrawable(int, int, bool, float, float) : Android.Graphics.Drawables.Drawable
Returns a drawable for the system built-in static wallpaper.
GetCropAndSetWallpaperIntent(Android.Net.Uri) : Android.Content.Intent
Gets an Intent that will launch an activity that crops the given image and sets the device's wallpaper.
static
GetInstance(Android.Content.Context) : WallpaperManager
Retrieve a WallpaperManager associated with the given Context.
HasResourceWallpaper(int) : bool
Return whether any users are currently set to use the wallpaper with the given resource ID.
PeekDrawable() : Android.Graphics.Drawables.Drawable
Retrieve the current system wallpaper; if there is no wallpaper set, a null pointer is returned.
PeekFastDrawable() : Android.Graphics.Drawables.Drawable
Like WallpaperManager.FastDrawable, but if there is no wallpaper set, a null pointer is returned.
SendWallpaperCommand(Android.OS.IBinder, string, int, int, int, Android.OS.Bundle)
Send an arbitrary command to the current active wallpaper.
SetBitmap(Android.Graphics.Bitmap)
Change the current system wallpaper to a bitmap.
SetResource(int)
Change the current system wallpaper to the bitmap in the given resource.
SetStream(System.IO.Stream)
Change the current system wallpaper to a specific byte stream.
SetWallpaperOffsets(Android.OS.IBinder, float, float)
Set the position of the current wallpaper within any larger space, when that wallpaper is visible behind the given window.
SetWallpaperOffsetSteps(float, float)
For applications that use multiple virtual screens showing a wallpaper, specify the step size between virtual screens.
SuggestDesiredDimensions(int, int)
For use only by the current home application, to specify the size of wallpaper it would like to use.