WifiAware

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

Wi-Fi Aware connection method according to ISO/IEC 18013-5.

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val bandInfoSupportedBands: ByteString?

the supported bands or null.

Link copied to clipboard

the channel number or null.

Link copied to clipboard

the operating class or null.

Link copied to clipboard

the passphrase or null.

Functions

Link copied to clipboard
fun toDeviceEngagement(engagementType: MdocEngagementType = MdocEngagementType.DEVICE_QR): ByteArray

Encodes this single connection method as DeviceRetrievalMethod CBOR.

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