Example usage for Java android.app WallpaperManager fields, constructors, methods, implement or subclass
The text is from its open source code.
String | ACTION_LIVE_WALLPAPER_CHOOSER Launch an activity for the user to pick the current global live wallpaper. |
String | ACTION_CHANGE_LIVE_WALLPAPER Directly launch live wallpaper preview, allowing the user to immediately confirm to switch to a specific live wallpaper. |
String | EXTRA_LIVE_WALLPAPER_COMPONENT Extra in #ACTION_CHANGE_LIVE_WALLPAPER that specifies the ComponentName of a live wallpaper that should be shown as a preview, for the user to confirm. |
String | COMMAND_TAP Command for #sendWallpaperCommand : reported by the wallpaper host when the user taps on an empty area (not performing an action in the host). |
String | COMMAND_SECONDARY_TAP Command for #sendWallpaperCommand : reported by the wallpaper host when the user releases a secondary pointer on an empty area (not performing an action in the host). |
int | FLAG_SYSTEM Flag: set or retrieve the general system wallpaper. |
int | FLAG_LOCK Flag: set or retrieve the lock-screen-specific wallpaper. |
Class> | getClass() Returns the runtime class of this Object . |
Intent | getCropAndSetWallpaperIntent(Uri imageUri) Gets an Intent that will launch an activity that crops the given image and sets the device's wallpaper. |
int | getDesiredMinimumHeight() Returns the desired minimum height for the wallpaper. |
int | getDesiredMinimumWidth() Returns the desired minimum width for the wallpaper. |
Drawable | getDrawable() Retrieve the current system wallpaper; if no wallpaper is set, the system built-in static wallpaper is returned. |
Drawable | getFastDrawable() Like #getDrawable() , but the returned Drawable has a number of limitations to reduce its overhead as much as possible. |
WallpaperManager | getInstance(Context context) Retrieve a WallpaperManager associated with the given Context. |
WallpaperInfo | getWallpaperInfo() If the current wallpaper is a live wallpaper component, return the information about that wallpaper. |
Drawable | peekFastDrawable() Like #getFastDrawable() , but if there is no wallpaper set, a null pointer is returned. |
void | setBitmap(Bitmap bitmap) Change the current system wallpaper to a bitmap. |
void | setResource(@RawRes int resid) Change the current system wallpaper to the bitmap in the given resource. |
void | setStream(InputStream bitmapData) Change the current system wallpaper to a specific byte stream. |