HomeKitPairingErrorType
public enum HomeKitPairingErrorType : UInt8
extension HomeKitPairingErrorType: Encodable
HomeKit Pairing Errors
-
Reserved
Declaration
Swift
case none = 0x00
-
Generic error to handle unexpected errors
Declaration
Swift
case unknown = 0x01
-
Setup code or signature verification failed
Declaration
Swift
case authentication = 0x02
-
Client must look at the retry delay TLV item and wait that many seconds before retrying
Declaration
Swift
case backoff = 0x03
-
Server cannot accept any more pairings.
Declaration
Swift
case maxPeers = 0x04
-
Server reached its maximum number of authentication attempts
Declaration
Swift
case maxTries = 0x05
-
Server pairing method is unavailable
Declaration
Swift
case unavailable = 0x06
-
Server is busy and cannot accept a pairing request at this time.
Declaration
Swift
case busy = 0x07
-
Name of the Type
Declaration
Swift
var name: String { get }
-
Undocumented
Declaration
Swift
public var description: String { get }
-
CodingKey with a Type and Value
See moreDeclaration
Swift
public enum CodingKeys : CodingKey
-
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.