Dela via


Camera.IOnZoomChangeListener.OnZoomChange(Int32, Boolean, Camera) Method

Definition

Caution

deprecated

Called when the zoom value has changed during a smooth zoom.

[Android.Runtime.Register("onZoomChange", "(IZLandroid/hardware/Camera;)V", "GetOnZoomChange_IZLandroid_hardware_Camera_Handler:Android.Hardware.Camera/IOnZoomChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public void OnZoomChange (int zoomValue, bool stopped, Android.Hardware.Camera? camera);
[<Android.Runtime.Register("onZoomChange", "(IZLandroid/hardware/Camera;)V", "GetOnZoomChange_IZLandroid_hardware_Camera_Handler:Android.Hardware.Camera/IOnZoomChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member OnZoomChange : int * bool * Android.Hardware.Camera -> unit

Parameters

zoomValue
Int32

the current zoom value. In smooth zoom mode, camera calls this for every new zoom value.

stopped
Boolean

whether smooth zoom is stopped. If the value is true, this is the last zoom update for the application.

camera
Camera

the Camera service object

Attributes

Remarks

Called when the zoom value has changed during a smooth zoom.

Java documentation for android.hardware.Camera.OnZoomChangeListener.onZoomChange(int, boolean, android.hardware.Camera).

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