Skip to content

Latest commit

 

History

History
72 lines (58 loc) · 1.48 KB

File metadata and controls

72 lines (58 loc) · 1.48 KB
layout title description keywords needGenerateH3Content needAutoGenerateSidebar noTitleIndex
default-layout
DSCaptureStateListener - Dynamsoft Capture Vision Router Module iOS Edition API Reference
The protocol DSCaptureStateListener of Dynamsoft Capture Vision Router Module defines the methods for monitoring the capture state.
capture state, monitoring, objective-c, swift
true
true
true

DSCaptureStateListener

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

Definition

Assembly: DynamsoftCore.framework

>- Objective-C >- Swift > >1. ```objc @protocol DSCaptureStateListener ``` 2. ```swift 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. ```objc - (void)onCapturedStateChanged:(DSCaptureState)state; ``` 2. ```swift func onCapturedStateChanged(_ state: DSCaptureState) ```

Parameters

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

Code Snippet

>- Objective-C >- Swift > >1. ```objc [self.delegate onCapturedStateChanged:state]; ``` 2. ```swift delegate?.onCapturedStateChanged(state) ```