BlinkCardScanningSession

Manages a card scanning session with support for processing images and extracting card data.

This class provides the main interface for scanning payment cards, processing input images, and retrieving extraction results. It handles the lifecycle of a scanning session, including initialization, image processing, session restart, and cleanup.

The session must be explicitly closed after use by calling close or using it within a try-with-resources block to ensure proper resource cleanup.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun close()

Closes the session and releases native resources.

Link copied to clipboard
fun finalize()
Link copied to clipboard
Link copied to clipboard

Performs the processing of the input image and returns the BlinkCardProcessResult, or throws an Exception in case of failure.

Link copied to clipboard
suspend fun restartSession(): Boolean