HomeKitPairingMethodType
public enum HomeKitPairingMethodType : UInt8
extension HomeKitPairingMethodType: Encodable
HomeKit Pairing Method Types
-
Pair Setup
Declaration
Swift
case setup = 0x00
-
Pair Setup with Auth
Declaration
Swift
case setupAuthentication = 0x01
-
Pair Verify
Declaration
Swift
case verify = 0x02
-
Add Pairing
Declaration
Swift
case add = 0x03
-
Remove Pairing
Declaration
Swift
case remove = 0x04
-
List Pairings
Declaration
Swift
case list = 0x05
-
Undocumented
Declaration
Swift
public var description: String { get }
-
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.