CaptureFlowState

sealed class CaptureFlowState

Enum-like representing the state of an active capture flow

See also

Inheritors

Types

Link copied to clipboard

Document images have been captured, and are in one of the following states:

Link copied to clipboard

An error occurred while attempting to upload the receipt images.

Link copied to clipboard

The capture activity finished, but no images were returned. The user likely exited the flow.

Link copied to clipboard
class ImagesCaptured(val imagesPendingUpload: List<PendingUploadItemData>) : CaptureFlowState

The images have been captured and are about to be uploaded

Link copied to clipboard

The receipt images have been uploaded and a Transaction is in progress (etc. uploading, processing, finished)

Properties

Link copied to clipboard
open val isFinal: Boolean = true

True if this state represents a finished capture flow, false if it is still in progress