STCameraManagerDelegate
@protocol STCameraManagerDelegate <NSObject>
Protocol methods to receive scan result from a ScanTrust frame processing
-
Informs the delegate that the camera frame is processed by ScanTrust frame processing with a scan result
Declaration
Objective-C
- (void)cameraManager:(STCameraManager *)cameraManager didProcessFrameWithScanState:(STScanState)scanState;Swift
optional func cameraManager(_ cameraManager: STCameraManager!, didProcessFrameWith scanState: STScanState)Parameters
cameraManagerThe limited camera manager object that captured the frame for processing
scanStateThe STScanState instance representing a scan result
-
Informs the delegate that the camera frame is completed processing by ScanTrust frame processing with a scan result
Declaration
Objective-C
- (void)cameraManager:(STCameraManager *)cameraManager didCompleteScanWithAuthRequest:(STAuthRequest *)authRequest;Swift
optional func cameraManager(_ cameraManager: STCameraManager!, didCompleteScanWith authRequest: STAuthRequest!)Parameters
cameraManagerThe limited camera manager object that captured the frame for processing
authRequestThe STAuthRequest instance representing a scanned code
STCameraManagerDelegate Protocol Reference