Table of contents

DSCaptureStateListener

The DSCaptureStateListener protocol defines the methods for monitoring the capture state.

Definition

Assembly: DynamsoftCore.xcframework

  • Objective-C
  • Swift
  1. @protocol DSCaptureStateListener <NSObject>
    
  2. protocol DSCaptureStateListener : NSObjectProtocol
    

Methods

Method Description
onCapturedStateChanged The method for monitoring the capture state.

onCapturedStateChanged

The method for monitoring the capture state.

  • Objective-C
  • Swift
  1. - (void)onCapturedStateChanged:(DSCaptureState)state;
    
  2. func onCapturedStateChanged(_ state: DSCaptureState)
    

Parameters

state: One of the DSCaptureState value that indicates the capture state.

Code Snippet

  • Objective-C
  • Swift
  1. [self.delegate onCapturedStateChanged:state];
    
  2. delegate?.onCapturedStateChanged(state)
    

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: