Context.SetWallpaper Context.SetWallpaper Method

Definition

Overloads

SetWallpaper(Bitmap) SetWallpaper(Bitmap)
SetWallpaper(Stream) SetWallpaper(Stream)

SetWallpaper(Bitmap) SetWallpaper(Bitmap)

[Android.Runtime.Register("setWallpaper", "(Landroid/graphics/Bitmap;)V", "GetSetWallpaper_Landroid_graphics_Bitmap_Handler")]
public abstract void SetWallpaper (Android.Graphics.Bitmap bitmap);
abstract member SetWallpaper : Android.Graphics.Bitmap -> unit

Parameters

bitmap
Bitmap Bitmap

Exceptions

Remarks

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.

SetWallpaper(Stream) SetWallpaper(Stream)

[Android.Runtime.Register("setWallpaper", "(Ljava/io/InputStream;)V", "GetSetWallpaper_Ljava_io_InputStream_Handler")]
public abstract void SetWallpaper (System.IO.Stream data);
abstract member SetWallpaper : System.IO.Stream -> unit

Parameters

data
Stream Stream

Exceptions

Remarks

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.

Applies to