- data
- A stream containing the raw data to install as a wallpaper.
Type Reason Java.IO.IOException If an error occurs reverting to the built-in wallpaper.
Change the current system wallpaper to a specific byte stream. The give InputStream is copied into persistent storage and will now be used as the wallpaper. Currently it must be either a JPEG or PNG image. On success, the intent Android.Content.Intent.ActionWallpaperChanged is broadcast.
This method requires the caller to hold the permission NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#SET_WALLPAPER.