NfcReadManagerState

Interface defining the state and operations for the NFC reader.

This state is typically managed and remembered in a Composable to survive recompositions.

Inheritors

Properties

Link copied to clipboard
abstract val nfcReadResult: StateFlow<NfcReadResult>

A StateFlow providing the current result of the NFC scanning process.

Functions

Link copied to clipboard
abstract fun InitNfcManager()

A Composable function that initializes and registers the underlying NFC manager. This should be called within the Composable where the NFC reader is being used.

Link copied to clipboard
abstract fun startScanning()

Starts the NFC scanning process.

Link copied to clipboard
abstract fun stopScanning()

Stops the NFC scanning process.