Builder
Functions
Link copied to clipboard
Create the product resolver.
Link copied to clipboard
Disable bundle selection.
Link copied to clipboard
Set the barcode to analyse.
Link copied to clipboard
Set the barcode format.
Link copied to clipboard
Set the scanned code to analyse.
Link copied to clipboard
Set the scanned codes to analyse.
Link copied to clipboard
fun setDialogConfirmationDialogFactory(factory: ProductConfirmationDialog.Factory?): ProductResolver.Builder
Set a factory for a custom DialogConfirmationDialog implementation.
Link copied to clipboard
fun setOnAgeNotReachedListener(listener: ProductResolver.OnAgeNotReachedListener): ProductResolver.Builder
Set an age not reached listener.
Link copied to clipboard
fun setOnAlreadyScannedListener(listener: ProductResolver.OnAlreadyScannedListener): ProductResolver.Builder
Set an already scanned listener.
Link copied to clipboard
Set a listener which is invoked when the product confirmation dialog is dismissed.
Link copied to clipboard
Set a key listener.
Link copied to clipboard
fun setOnNetworkErrorListener(listener: ProductResolver.OnNetworkErrorListener): ProductResolver.Builder
Set a network error listener.
Link copied to clipboard
fun setOnNotForSaleListener(listener: ProductResolver.OnNotForSaleListener): ProductResolver.Builder
Set a NotForSale listener.
Link copied to clipboard
fun setOnProductFoundListener(listener: ProductResolver.OnProductFoundListener): ProductResolver.Builder
Set a product found listener.
Link copied to clipboard
fun setOnProductNotFoundListener(listener: ProductResolver.OnProductNotFoundListener): ProductResolver.Builder
Set a product not found listener.
Link copied to clipboard
Set a SaleStop listener.
Link copied to clipboard
fun setOnShelfCodeScannedListener(listener: ProductResolver.OnShelfCodeScannedListener): ProductResolver.Builder
Set a shelf code scanned listener.
Link copied to clipboard
Set a listener which is invoked when the product confirmation dialog is shown.