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 }
-
Not available.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Not available.
Declaration
Objective-C
+ (nonnull instancetype)new;
-
Designated initializer. 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:(nullable UIView *)parentView delegate: (nonnull id< SBSDKLicensePlateScannerViewControllerDelegate>) delegate configuration: (nullable SBSDKLicensePlateScannerConfiguration *) configuration;
Swift
init?(parentViewController: UIViewController, parentView: UIView?, delegate: SBSDKLicensePlateScannerViewControllerDelegate, configuration: SBSDKLicensePlateScannerConfiguration?)
Parameters
parentViewController
The view controller the newly created instance is embedded into. If parentViewController conforms to SBSDKLicensePlateScannerViewControllerDelegate, it is automatically set as delegate.
parentView
The view the newly created instance is embedded into. If nil the parentViewControllers view is used.
delegate
The delegate of the receiver.
configuration
The configuration of the receiver. If nil, the default configuration is used.
Return Value
New instance of SBSDKLicensePlateScannerViewController.