Protocols
The following protocols are available globally.
-
A protocol to receive updates from camera zoom
See moreDeclaration
Objective-C
@protocol ZoomDelegate <NSObject>
Swift
protocol ZoomDelegate : NSObjectProtocol
-
A protocol to receive updates from camera torch
See moreDeclaration
Objective-C
@protocol TorchDelegate <NSObject>
Swift
protocol TorchDelegate : NSObjectProtocol
-
Undocumented
See moreDeclaration
Objective-C
@protocol CodeAuthenticationDetailsReceiverProtocol <NSObject> -(void) didReceiveAuthenticationDetails:(nullable AuthenticationDetails*) authenticationDetails forCodeID:(NSString*) codeID error:(nullable id) error; // TODO: define error object @end
Swift
protocol CodeAuthenticationDetailsReceiverProtocol : NSObjectProtocol
-
Undocumented
See moreDeclaration
Objective-C
@protocol CodeAuthenticationDetailsProviderProtocol <NSObject> -(void) receiver:(id<CodeAuthenticationDetailsReceiverProtocol>) receiver requestAuthenticationDetailsForCodeId:(NSString*) codeID apiHost:(NSString*) apiHost codeSpace:(NSString*) codeSpace; -(void) invalidateReceiver:(id<CodeAuthenticationDetailsReceiverProtocol>) receiver; @end
Swift
protocol CodeAuthenticationDetailsProviderProtocol : NSObjectProtocol
-
A protocol to let the app know about the last authentication session
See moreDeclaration
Objective-C
@protocol AuthenticationSessionEndedDelegateProtocol <NSObject>
Swift
protocol AuthenticationSessionEndedDelegateProtocol : NSObjectProtocol
-
A protocol to know the scanned bar code details
See moreDeclaration
Objective-C
@protocol BarcodeReaderDelegate <NSObject>
Swift
protocol BarcodeReaderDelegate
-
Undocumented
See moreDeclaration
Objective-C
@protocol CodeDetectionDelegate <NSObject> - (void)codeReader:(id<CodeReader>)codeReader didDetectCodes:(NSArray<CodeDetectionObject *> *)codes frameSize:(CGSize) frameSize; @end
Swift
protocol CodeDetectionDelegate : NSObjectProtocol
-
Undocumented
See moreDeclaration
Objective-C
@protocol NoScanEngineActivityDelegate <NSObject> -(void) noActivity; @end
Swift
protocol NoScanEngineActivityDelegate : NSObjectProtocol
-
A protocol to report the states of the individual scans.
See moreDeclaration
Objective-C
@protocol ScanEngineFeedbackReceiverProtocol <NSObject>
Swift
protocol ScanEngineFeedbackReceiverProtocol : NSObjectProtocol
-
A protocol to receive updates from ScanEngine messages
See moreDeclaration
Objective-C
@protocol ScanEngineMessageReceiver
Swift
protocol ScanEngineMessageReceiver