DSCameraStateListener
The DSCameraStateListener protocol includes methods for monitoring the camera state.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@protocol DSCameraStateListener <NSObject>protocol CameraStateListener : NSObjectProtocol
Methods
| Method | Description |
|---|---|
onCameraStateChanged |
The method for monitoring the camera state and receiving call. |
onCameraStateChanged
The method for monitoring the camera state and receiving call.
- Objective-C
- Swift
- (void)onCameraStateChanged:(DSCameraState)currentState;func onCameraStateChanged(_ currentState: DSCameraState)
Parameters
currentState: The current camera state.