SBSDKLicensePlateScannerViewController
@interface SBSDKLicensePlateScannerViewController
: SBSDKBaseScannerViewController
A UIViewController subclass to scan for license plates with the camera.
-
The receivers configuration.
Declaration
Objective-C
@property (nonatomic, strong) SBSDKLicensePlateScannerConfiguration *_Nonnull configuration;
Swift
var configuration: SBSDKLicensePlateScannerConfiguration { get set }
-
The delegate. See SBSDKLicensePlateScannerViewControllerDelegate protocol. Weak.
Declaration
Objective-C
@property (nonatomic, weak, nullable) id<SBSDKLicensePlateScannerViewControllerDelegate> delegate;
Swift
weak var delegate: SBSDKLicensePlateScannerViewControllerDelegate? { get set }
-
Creates a new instance of SBSDKLicensePlateScannerViewController.
Declaration
Objective-C
- (nullable instancetype) initWithConfiguration: (nullable SBSDKLicensePlateScannerConfiguration *)configuration delegate: (nullable id<SBSDKLicensePlateScannerViewControllerDelegate>) delegate;
Swift
init?(configuration: SBSDKLicensePlateScannerConfiguration?, delegate: SBSDKLicensePlateScannerViewControllerDelegate?)
Parameters
configuration
The configuration of the receiver. If nil, the default configuration is used.
delegate
The delegate of the receiver.
Return Value
New instance of SBSDKLicensePlateScannerViewController.
-
Installs the receiver as child view controller onto the parent view controllers view using its entire bounds area.
Declaration
Objective-C
- (nullable instancetype) initWithParentViewController: (nonnull UIViewController *)parentViewController parentView:(nonnull UIView *)parentView configuration: (nullable SBSDKLicensePlateScannerConfiguration *) configuration delegate: (nullable id< SBSDKLicensePlateScannerViewControllerDelegate>) delegate;
Swift
init?(parentViewController: UIViewController, parentView: UIView, configuration: SBSDKLicensePlateScannerConfiguration?, delegate: SBSDKLicensePlateScannerViewControllerDelegate?)
Parameters
parentViewController
The view controller the newly created instance is embedded into.
parentView
The view the newly created instance is embedded into.
configuration
The configuration of the receiver. If nil, the default configuration is used.
delegate
The delegate of the receiver.
Return Value
New instance of SBSDKLicensePlateScannerViewController.