Share via


WallpaperService.Engine.OnDesiredSizeChanged(Int32, Int32) Method

Definition

Called when an application has changed the desired virtual size of the wallpaper.

[Android.Runtime.Register("onDesiredSizeChanged", "(II)V", "GetOnDesiredSizeChanged_IIHandler")]
public virtual void OnDesiredSizeChanged (int desiredWidth, int desiredHeight);
[<Android.Runtime.Register("onDesiredSizeChanged", "(II)V", "GetOnDesiredSizeChanged_IIHandler")>]
abstract member OnDesiredSizeChanged : int * int -> unit
override this.OnDesiredSizeChanged : int * int -> unit

Parameters

desiredWidth
Int32
desiredHeight
Int32
Attributes

Remarks

Called when an application has changed the desired virtual size of the wallpaper.

Java documentation for android.service.wallpaper.WallpaperService.Engine.onDesiredSizeChanged(int, int).

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