Resource Base
Table of contents

DSCameraStateListener

The DSCameraStateListener protocol includes methods for monitoring the camera state.

Definition

Assembly: DynamsoftCore.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: