CaptureFlowCoordinator

Coordinator class that can be used to launch the Receipt Capture flow. This includes capturing receipt images, uploading the resulting images, and notifying a provided listener of flow progress.

This coordinator can be used from any AppCompatActivity.

Constructors

Link copied to clipboard
constructor(flowOwner: AppCompatActivity)

Types

Link copied to clipboard

An interface defining an object that can receive capture flow progress updates

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun activate()

Register this class for being able to launch and handle capture instances

Link copied to clipboard

Unregister this class for being able to launch and handle capture instances

Link copied to clipboard
fun launchCaptureFlow(listener: CaptureFlowCoordinator.CaptureFlowListener, config: CaptureConfig? = null, externalAccountTransactionId: String? = null, documentType: DocumentType = DocumentType.RECEIPT): Boolean

Launch the capture flow.

Link copied to clipboard
open override fun onCreate(owner: LifecycleOwner)
Link copied to clipboard
open override fun onDestroy(owner: LifecycleOwner)
Link copied to clipboard
open fun onPause(owner: LifecycleOwner)
Link copied to clipboard
open fun onResume(owner: LifecycleOwner)
Link copied to clipboard
open fun onStart(owner: LifecycleOwner)
Link copied to clipboard
open fun onStop(owner: LifecycleOwner)