CaptureFlowState

sealed class CaptureFlowState

Enum-like representing the state of an active capture flow

See also

Types

Error
Link copied to clipboard
class Error : CaptureFlowState
An error occurred while attempting to upload the receipt images.
FLOW_CANCELLED
Link copied to clipboard
object FLOW_CANCELLED : CaptureFlowState
The capture activity finished, but no images were returned.
ImagesCaptured
Link copied to clipboard
class ImagesCaptured(imagesPendingUpload: List<PendingUploadReceiptData>) : CaptureFlowState
The images have been captured and are about to be uploaded
Transacting
Link copied to clipboard
class Transacting : CaptureFlowState
The receipt images have been uploaded and a Transaction is in progress (etc.

Properties

isFinal
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

Inheritors

CaptureFlowState
Link copied to clipboard
CaptureFlowState
Link copied to clipboard
CaptureFlowState
Link copied to clipboard
CaptureFlowState
Link copied to clipboard