DSZoomFactorChangeListener
The DSZoomFactorChangeListener protocol defines the methods for monitoring the change of the zoom-factor.
Definition
Assembly: DynamsoftCameraEnhancer .xcframework
- Objective-C
- Swift
@protocol DSZoomFactorChangeListener <NSObject>protocol ZoomFactorChangeListener : NSObjectProtocol
Methods
| Method | Description |
|---|---|
onZoomFactorChanged |
The method for monitoring the change of the zoom-factor. |
onZoomFactorChanged
The method for monitoring the change of the zoom-factor.
- Objective-C
- Swift
- (void)onZoomFactorChanged:(CGFloat)currentZoomFactor;func onZoomFactorChanged(currentZoomFactor: CGFloat)
Parameters
currentZoomFactor: The current zoom-factor.