Zoom

sealed class Zoom(val characteristics: CameraCharacteristics, val cameraSettings: CameraSettings)(source)

Inheritors

Constructors

Link copied to clipboard
protected constructor(characteristics: CameraCharacteristics, cameraSettings: CameraSettings)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Listener for zoom change.

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
abstract suspend fun getZoomRatio(): Float
Link copied to clipboard
protected fun notifyZoomListeners(zoomRatio: Float)
Link copied to clipboard
suspend fun onPinch(scale: Float)

Sets the zoom on pinch scale gesture.

Link copied to clipboard
abstract suspend fun setZoomRatio(zoomRatio: Float)