Barcode Pick Async Mapper Product Provider Callback

Defined in framework ScanditBarcodeCapture

@protocol SDCBarcodePickAsyncMapperProductProviderDelegate <NSObject>

Added in version 6.19.0

A callback to be provided to a SDCBarcodePickAsyncMapperProductProvider object. This callback allows to retrieve asynchronously product identifiers for the given itemsData ( i.e. the scanned codes ).

- mapItems:completionHandler:
- (void)mapItems:(nonnull NSArray<NSString *> *)items
completionHandler:(nonnull void (^)(NSArray<SDCBarcodePickProductProviderCallbackItem *> *))completionHandler

Added in version 6.19.0

From this callback async operations can be fired to retrieve the product identifiers for the provided itemsData. Once retrieved, completionHandler should be invoked with a list of SDCBarcodePickProductProviderCallbackItem, consisting each of an itemData string and its product identifier. The product identifier can be null if not found.