Intent.ActionWallpaperChanged Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Broadcast Action: The current system wallpaper has changed.
[Android.Runtime.Register("ACTION_WALLPAPER_CHANGED")]
[System.Obsolete("deprecated")]
public const string ActionWallpaperChanged;
[<Android.Runtime.Register("ACTION_WALLPAPER_CHANGED")>]
[<System.Obsolete("deprecated")>]
val mutable ActionWallpaperChanged : string
Field Value
Implements
- Attributes
Remarks
Broadcast Action: The current system wallpaper has changed. See android.app.WallpaperManager
for retrieving the new wallpaper. This should <em>only</em> be used to determine when the wallpaper has changed to show the new wallpaper to the user. You should certainly never, in response to this, change the wallpaper or other attributes of it such as the suggested size. That would be unexpected, right? You'd cause all kinds of loops, especially if other apps are doing similar things, right? Of course. So please don't do this.
This member is deprecated. Modern applications should use android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER
to have the wallpaper shown behind their UI, rather than watching for this broadcast and rendering the wallpaper on their own.
Java documentation for android.content.Intent.ACTION_WALLPAPER_CHANGED
.
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.