ScanFlow
A flow for scanning something. This manages the callbacks and lifecycle of the flow.
Functions
Link copied to clipboard
In the event that the scan cannot complete, halt the flow to halt analyzers and free up CPU and memory.
Link copied to clipboard
abstract fun startFlow(context: Context, imageStream: Flow<DataType>, viewFinder: Rect, lifecycleOwner: LifecycleOwner, coroutineScope: CoroutineScope, parameters: Parameters)
Start the image processing flow for scanning a card.