BlinkIdVerifyScanningSession

Represents a capture session for document verification.

This class manages the entire lifecycle of a document verification process, from initialization to result retrieval and resource cleanup. It handles communication with native code for core processing and provides methods for starting, cancelling, and restarting the session.

Native session initialization happens during construction. Consent is not stored on native SessionSettings; it is supplied at getResult time. setConsent and BlinkIdVerifySessionSettings.consent keep the Kotlin-side consent passed into native payload generation.

Properties

Link copied to clipboard
Link copied to clipboard

Session number assigned by native code after initialization.

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

Returns the BlinkID Verify v3 session result.

Link copied to clipboard
Link copied to clipboard
suspend fun restartSession(): Boolean
Link copied to clipboard
suspend fun setAllowBarcodeStep(allowBarcodeStep: Boolean)
Link copied to clipboard

Sets the end-user consent that getResult will pass into native payload generation.