NfcTimeout

data class NfcTimeout(val timeoutMillis: Long?, val limit: NfcTimeout.Limit) : NfcError

Connection error: a time limit passed. limit says which one, as a fact: the limit on one command, the app's own wait for a document, or the system's limit on one NFC session.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Constructors

Link copied to clipboard
constructor(timeoutMillis: Long?, limit: NfcTimeout.Limit)

Types

Link copied to clipboard

Which time limit passed.

Properties

Link copied to clipboard
open override val code: String

A stable name of this error: see ChipError.code. timeout.command, timeout.wait-for-document or timeout.session.

Link copied to clipboard
open override val description: String

English text for logs: which limit passed, and its time when known.

Link copied to clipboard

Which time limit passed.

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.

Link copied to clipboard

The time limit that passed, in milliseconds, or null when the platform does not say.

Functions

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

NfcTimeout: followed by description.