Resource Base
Table of contents

This documentation is deprecated. It applies only to legacy version 2.x of Capture Vision and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

DSCameraStateListener

The DSCameraStateListener protocol includes methods for monitoring the camera state.

Definition

Assembly: DynamsoftCaptureVisionBundle.xcframework

  • Objective-C
  • Swift
  1. @protocol DSCameraStateListener <NSObject>
    
  2. 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
  1. - (void)onCameraStateChanged:(DSCameraState)currentState;
    
  2. func onCameraStateChanged(_ currentState: DSCameraState)
    

Parameters

currentState: The current camera state.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: