ZoomDelegate
Objective-C
@protocol ZoomDelegate <NSObject>Swift
protocol ZoomDelegate : NSObjectProtocolA protocol to receive updates from camera zoom
- 
                  
                  Delegate method to receive update of zooming DeclarationObjective-C - (void)zoomTo:(float)factor withRampRate:(float)rate completionHandler:(nullable ZoomActionCallback)callback;Swift func zoom(to factor: Float, withRampRate rate: Float) async -> (Bool, Float)Parametersfactora float to control the zoom factor ratea float to control the ramp rate of zoom callbacka callback with zoom changed and new zoom level 
- 
                  
                  Delegate method to receive update of zooming DeclarationObjective-C - (void)zoomTo:(float)factor completionHandler:(nullable ZoomActionCallback)callback;Swift func zoom(to factor: Float) async -> (Bool, Float)Parametersfactora float to control the zoom factor callbacka callback with zoom changed and new zoom level 
- 
                  
                  Current zoom factor from the camera DeclarationObjective-C @property (nonatomic, readonly) CGFloat currentZoomFactor;Swift var currentZoomFactor: CGFloat { get }
- 
                  
                  A threshold of the zoom factor upscale DeclarationObjective-C @property (readonly) CGFloat zoomFactorUpscaleThreshold;Swift var zoomFactorUpscaleThreshold: CGFloat { get }
 ZoomDelegate Protocol Reference
        ZoomDelegate Protocol Reference