ExternalNfcReader

sealed class ExternalNfcReader

Base class for external NFC readers.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val addedAt: Instant

the point in time the reader was added

Link copied to clipboard

a human-readable name for the reader.

Link copied to clipboard
open val id: String

an identifier for the reader.

Functions

Link copied to clipboard
abstract suspend fun getNfcTagReader(): NfcTagReader

Gets a NfcTagReader to perform NFC reading operations.

Link copied to clipboard
abstract fun observeState(): Flow<ExternalNfcReaderState>

Starts observing the state of a reader.

Link copied to clipboard
abstract suspend fun requestPermission(): Boolean

Requests the user for permission to use the device.

Link copied to clipboard
Link copied to clipboard