SBSDKUILicensePlateScannerViewControllerDelegate
@protocol SBSDKUILicensePlateScannerViewControllerDelegate <
SBSDKUIViewControllerDelegate>
Delegate protocol for ‘SBSDKUILicensePlateScannerViewController’.
-
Informs the delegate that a license plate has been recognized.
Declaration
Objective-C
- (void)licensePlateScanner: (nonnull SBSDKUILicensePlateScannerViewController *)controller didRecognizeLicensePlate:(nonnull SBSDKLicensePlateScannerResult *)result;
Swift
func licensePlateScanner(_ controller: SBSDKUILicensePlateScannerViewController, didRecognizeLicensePlate result: SBSDKLicensePlateScannerResult)
Parameters
viewController
The license plate scanner view controller instance.
result
The result of the license plate scan.
-
Optional: Informs the delegate that the ‘SBSDKUILicensePlateScannerViewController’ has been cancelled and dismissed.
Declaration
Objective-C
- (void)licensePlateScannerDidCancel: (nonnull SBSDKUILicensePlateScannerViewController *)controller;
Swift
optional func licensePlateScannerDidCancel(_ controller: SBSDKUILicensePlateScannerViewController)
Parameters
viewController
The ‘SBSDKUILicensePlateScannerViewController’ that did dismiss.