WallpaperService.Engine.OnZoomChanged(Single) Method

Definition

Called when the zoom level of the wallpaper changed.

[Android.Runtime.Register("onZoomChanged", "(F)V", "GetOnZoomChanged_FHandler", ApiSince=30)]
public virtual void OnZoomChanged (float zoom);
[<Android.Runtime.Register("onZoomChanged", "(F)V", "GetOnZoomChanged_FHandler", ApiSince=30)>]
abstract member OnZoomChanged : single -> unit
override this.OnZoomChanged : single -> unit

Parameters

zoom
Single

the zoom level, between 0 indicating fully zoomed in and 1 indicating fully zoomed out.

Attributes

Remarks

Called when the zoom level of the wallpaper changed. This method will be called with the initial zoom level when the surface is created.

Java documentation for android.service.wallpaper.WallpaperService.Engine.onZoomChanged(float).

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