SBSDKCheckRecognizerViewControllerDelegate
@protocol SBSDKCheckRecognizerViewControllerDelegate <NSObject>
The delegation protocol for the SBSDKCheckRecognizerViewController
class.
-
Informs the delegate, that the check scanner has successfully detected and recognized a check.
Declaration
Objective-C
- (void)checkRecognizerViewController: (nonnull SBSDKCheckRecognizerViewController *)controller didRecognizeCheck: (nonnull SBSDKCheckRecognizerResult *)result;
Swift
func checkRecognizerViewController(_ controller: SBSDKCheckRecognizerViewController, didRecognizeCheck result: SBSDKCheckRecognizerResult)
Parameters
controller
The check scanner viewcontroller which recognized the check.
result
The check scanner result that have been recognized.
-
Optional. Informs the delegate, that the check scanner has changed its detection/recognition state.
Declaration
Objective-C
- (void)checkRecognizerViewController: (nonnull SBSDKCheckRecognizerViewController *)controller didChangeState:(SBSDKCheckRecognizerState)state;
Swift
optional func checkRecognizerViewController(_ controller: SBSDKCheckRecognizerViewController, didChange state: SBSDKCheckRecognizerState)
Parameters
controller
The check scanner viewcontroller that changed its state.
state
The current state of the check scanner.