Camera.IOnZoomChangeListener.OnZoomChange(Int32, Boolean, Camera) Method
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.
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
- 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
Called when the zoom value has changed during a smooth zoom.
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.
Product | Versions (Obsolete) |
---|---|
.NET for Android | (.NET for Android API 34, .NET for Android API 35) |