AlternativeCarrierRecord

data class AlternativeCarrierRecord(val cps: Int = CPS_ACTIVE, val carrierDataReference: String, val auxiliaryDataReferences: List<String> = emptyList())

Alternative Carrier record ("ac").

Reference: NFC Forum Connection Handover Technical Specification, Alternative Carrier Record.

Constructors

Link copied to clipboard
constructor(cps: Int = CPS_ACTIVE, carrierDataReference: String, auxiliaryDataReferences: List<String> = emptyList())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

the IDs of any auxiliary data records referenced by this carrier.

Link copied to clipboard

the ID of the carrier configuration record referenced by this carrier.

Link copied to clipboard
val cps: Int

the 2-bit Carrier Power State (CPS_INACTIVE, CPS_ACTIVE, CPS_ACTIVATING, or CPS_UNKNOWN).

Functions

Link copied to clipboard

Generates an NdefRecord for this Alternative Carrier record.