scan

fun scan(activity: ComponentActivity, imageCallback: (Bitmap) -> Unit)

Launches the camera activity for capturing an image of a receipt.

Parameters

activity

The ComponentActivity launching the camera.