WallpaperService.Engine.OnDesiredSizeChanged(Int32, Int32) Method
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.
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
The new desired width of the wallpaper, in pixels.
- desiredHeight
- Int32
The new desired height of the wallpaper, in pixels.
- Attributes
Remarks
Called when an application has changed the desired virtual size of the wallpaper.
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.