Barcode Pick View Highlight Style Async Provider
Defined in package com.scandit.datacapture.barcode.pick.ui
- BarcodePickViewHighlightStyleAsyncProvider
interface BarcodePickViewHighlightStyleAsyncProviderAdded in version 8.6.0
- styleForRequest(request, callback)
fun styleForRequest(request: BarcodePickViewHighlightStyleRequest, callback: ((BarcodePickViewHighlightStyleResponse?) -> Unit))
Added in version 8.6.0
This method will be called every time a style for an item is needed. Once the style for the given request is resolved, the provided callback onData function should be invoked. Providing null will remove the overridden style for the item, that way the default style will be used.