MeshOutOfBandInformation
public struct MeshOutOfBandInformation : OptionSet, Hashable
extension MeshOutOfBandInformation: Encodable
Mesh OOB Information
The OOB Information field is used to help drive the provisioning process by indicating the availability of OOB data, such as a public key of the device.
-
Declaration
Swift
public let rawValue: UInt16
-
Declaration
Swift
public init(rawValue: UInt16)
-
Other Supported
Declaration
Swift
public static let other: MeshOutOfBandInformation
-
Electronic / URI
Declaration
Swift
public static let electronicUrl: MeshOutOfBandInformation
-
2D machine-readable code
Declaration
Swift
public static let twoDMachineReadableCode: MeshOutOfBandInformation
-
Bar code
Declaration
Swift
public static let barCode: MeshOutOfBandInformation
-
Near Field Communication (NFC)
Declaration
Swift
public static let nfc: MeshOutOfBandInformation
-
Number
Declaration
Swift
public static let number: MeshOutOfBandInformation
-
string
Declaration
Swift
public static let string: MeshOutOfBandInformation
-
On Box
Declaration
Swift
public static let onBox: MeshOutOfBandInformation
-
Inside Box
Declaration
Swift
public static let insideBox: MeshOutOfBandInformation
-
On piece of paper
Declaration
Swift
public static let onPieceOfPaper: MeshOutOfBandInformation
-
Inside Manual
Declaration
Swift
public static let insideManual: MeshOutOfBandInformation
-
On Device
Declaration
Swift
public static let onDevice: MeshOutOfBandInformation
-
Undocumented
Declaration
Swift
public init(from decoder: Decoder) throws
-
Encodes this value into the given encoder.
If the value fails to encode anything,
encoder
will encode an empty keyed container in its place.This function throws an error if any values are invalid for the given encoder’s format.
Declaration
Swift
public func encode(to encoder: Encoder) throws
Parameters
encoder
The encoder to write data to.