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

    cameraManager

    The limited camera manager object that captured the frame for processing

    scanState

    The 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

    cameraManager

    The limited camera manager object that captured the frame for processing

    authRequest

    The STAuthRequest instance representing a scanned code