SBSDKUIBarcodesBatchScannerViewControllerDelegate
@protocol SBSDKUIBarcodesBatchScannerViewControllerDelegate <
SBSDKUIViewControllerDelegate>
Delegate protocol for ‘SBSDKUIBarcodesBatchScannerViewController’.
-
Informs the delegate that one or more barcodes have been detected and the view controller has dismissed.
Declaration
Objective-C
- (void)barcodesBatchScannerViewController: (nonnull SBSDKUIBarcodesBatchScannerViewController *)viewController didFinishWithResults: (nonnull NSArray<SBSDKUIBarcodeMappedResult *> *) barcodeResults;
Swift
func barcodesBatchScannerViewController(_ viewController: SBSDKUIBarcodesBatchScannerViewController, didFinishWith barcodeResults: [SBSDKUIBarcodeMappedResult])
Parameters
viewController
The detection view controller that detected barcode(s).
barcodeResults
An array of SBSDKBarcodeScannerResult objects containing detected barcodes.
-
Optional: informs the delegate that the ‘SBSDKUIBarcodesBatchScannerViewController’ has been cancelled and dismissed.
Declaration
Objective-C
- (void)barcodesBatchScannerViewControllerDidCancel: (nonnull SBSDKUIBarcodesBatchScannerViewController *)viewController;
Swift
optional func barcodesBatchScannerViewControllerDidCancel(_ viewController: SBSDKUIBarcodesBatchScannerViewController)
Parameters
viewController
The ‘SBSDKUIBarcodesBatchScannerViewController’ that did dismiss.