publish

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

Publishes a single bitmap image for receipt data extraction.

This function publishes a single bitmap image for receipt data extraction. The provided bitmap image data is sent to the capture service for processing. The function is asynchronous and returns a CompletableDeferred object that will be completed when the data has been published.

Return

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

Parameters

data

The bitmap image data to be published.