OnZoomChangeListener typedef

  1. @Reference('android_hardware/camera/OnZoomChangeListener')
OnZoomChangeListener = void Function(int zoomValue, bool stopped)

Callback for zoom changes during a smooth zoom operation.

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

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

Implementation

@Reference('android_hardware/camera/OnZoomChangeListener')
typedef OnZoomChangeListener = void Function(int zoomValue, bool stopped);