NfcUnavailable

Connection error: NFC cannot be used on this device right now, so no chip can be reached.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Constructors

Link copied to clipboard
constructor(reason: NfcUnavailable.Reason)

Types

Link copied to clipboard

Why NFC cannot be used.

Properties

Link copied to clipboard
open override val code: String

A stable name of this error: see ChipError.code.

Link copied to clipboard
open override val description: String

English text for logs: the reason.

Link copied to clipboard

Why NFC cannot be used.

Link copied to clipboard
open val statusWord: Int?

The status word the chip answered with, when this error carries one (for example 0x6300 for a refused key), otherwise null. The same value as the statusWord of the subtypes that have one, so an app reads it without a cast.

Functions

Link copied to clipboard
open override fun toString(): String

NfcUnavailable: followed by description.