publish

fun publish(data: Bitmap): CompletableDeferred<Unit>

Uploads a bitmap image for receipt data extraction.

Return

A CompletableDeferred object that will resolve when the data has been published.

Parameters

data

The bitmap image data.

Throws

if there is an error during the process.


fun publish(data: Array<Bitmap>): CompletableDeferred<Unit>

Uploads an array of bitmap images for receipt data extraction.

Return

A CompletableDeferred object that will resolve when all the data has been published.

Parameters

data

The array of bitmap image data.