Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
DSCaptureStateListener
The DSCaptureStateListener
protocol defines the methods for monitoring the capture state.
Definition
Assembly: DynamsoftCore.framework
- Objective-C
- Swift
@protocol DSCaptureStateListener <NSObject>
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
- (void)onCapturedStateChanged:(DSCaptureState)state;
func onCapturedStateChanged(_ state: DSCaptureState)
Parameters
state
: One of the DSCaptureState
value that indicates the capture state.
Code Snippet
- Objective-C
- Swift
[self.delegate onCapturedStateChanged:state];
delegate?.onCapturedStateChanged(state)