Zoom Switch Control Listener
Defined in framework ScanditCaptureCore
- ZoomSwitchControlListener
protocol ZoomSwitchControlListener : NSObjectProtocol
Added in version 6.18.0
Deprecated since version 8.4: Use ZoomListener instead. Will be removed in 9.0.
Listener for observing the zoom changes. This listener is typically used when you want to react to zoom control being tapped to update UI elements or similar.
- zoomControlDidZoom
open func zoomControlDidZoom(in zoomControl: ZoomSwitchControl) ->
VoidAdded in version 6.18.0
Deprecated since version 8.4: Use ZoomListener.didChangeZoomFactor() instead. Will be removed in 9.0.
Called when a zoom in action triggered.
- zoomControlDidZoomOut
open func zoomControlDidZoomOut(_ zoomControl: ZoomSwitchControl) ->
VoidAdded in version 6.18.0
Deprecated since version 8.4: Use ZoomListener.didChangeZoomFactor() instead. Will be removed in 9.0.
Called when a zoom out action triggered.