ServiceParameterRecord

data class ServiceParameterRecord(val tnepVersion: Int, val serviceNameUri: String, val tnepCommunicationMode: Int, val wtInt: Int, val nWait: Int, val maxNdefSize: Int)

Service Parameter Record.

Reference: NFC Forum Tag NDEF Exchange Protocol section 4.1.2 Service Parameter Record.

Constructors

Link copied to clipboard
constructor(tnepVersion: Int, serviceNameUri: String, tnepCommunicationMode: Int, wtInt: Int, nWait: Int, maxNdefSize: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Maximum NDEF Message size in bytes.

Link copied to clipboard
val nWait: Int

Maximum number of waiting time extensions.

Link copied to clipboard

Service Name URI.

Link copied to clipboard

TNEP communication mode.

Link copied to clipboard

TNEP version.

Link copied to clipboard
val wtInt: Int

Minimum waiting time, use Duration.Companion.fromWtInt to convert to a Duration.

Functions

Link copied to clipboard