WorkflowModel

class WorkflowModel(application: Application) : AndroidViewModel

View model for handling application workflow based on camera preview.

Constructors

Link copied to clipboard
fun WorkflowModel(application: Application)

Functions

Link copied to clipboard
open fun addCloseable(@NonNull p0: Closeable)
Link copied to clipboard
open fun <T : Application> getApplication(): T
Link copied to clipboard
fun markCameraFrozen()
Link copied to clipboard
fun markCameraLive()
Link copied to clipboard
fun setWorkflowState(workflowState: <Error class: unknown class>)

Properties

Link copied to clipboard
val detectedBarcode: MutableLiveData<Barcode>
Link copied to clipboard
var isCameraLive: Boolean = false
Link copied to clipboard
val workflowState: <Error class: unknown class>