Resource Base
Table of contents

DSZoomFactorChangeListener

The DSZoomFactorChangeListener protocol defines the methods for monitoring the change of the zoom-factor.

Definition

Assembly: DynamsoftCameraEnhancer .xcframework

  • Objective-C
  • Swift
  1. @protocol DSZoomFactorChangeListener <NSObject>
    
  2. 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
  1. - (void)onZoomFactorChanged:(CGFloat)currentZoomFactor;
    
  2. func onZoomFactorChanged(currentZoomFactor: CGFloat)
    

Parameters

currentZoomFactor: The current zoom-factor.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: