MdocConnectionMethodWifiAware

data class MdocConnectionMethodWifiAware(val passphraseInfoPassphrase: String?, val channelInfoChannelNumber: Long?, val channelInfoOperatingClass: Long?, val bandInfoSupportedBands: ByteString?) : MdocConnectionMethod

Connection method for Wifi Aware.

Parameters

passphraseInfoPassphrase

the passphrase or null.

channelInfoChannelNumber

the channel number or unset.

channelInfoOperatingClass

the operating class or unset.

bandInfoSupportedBands

the supported bands or null.

Constructors

Link copied to clipboard
constructor(passphraseInfoPassphrase: String?, channelInfoChannelNumber: Long?, channelInfoOperatingClass: Long?, bandInfoSupportedBands: ByteString?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bandInfoSupportedBands: ByteString?
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toDeviceEngagement(): ByteArray

Generates DeviceRetrievalMethod CBOR for the given MdocConnectionMethod.

Link copied to clipboard
open override fun toNdefRecord(auxiliaryReferences: List<String>, role: MdocRole, skipUuids: Boolean): Pair<NdefRecord, NdefRecord>?

Creates a NDEF Connection Handover Carrier Reference record and Auxiliary Data Reference records.

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