ITCB_RejectionReason
public enum ITCB_RejectionReason : Error
This enum encapsulates the reasons that a device communication may have been received, but rejected, on the other end.
-
The device is offline, and cannot receive the connection.
Declaration
Swift
case deviceOffline
-
The device is busy, and cannot receive the connection.
Declaration
Swift
case deviceBusy
-
The String needs to be phrased in the form of a question (question mark at the end).
Declaration
Swift
case questionPlease
-
There was some kind of error in the Peripheral.
Declaration
Swift
case peripheralError(Error?)
Parameters
error
Possible error code associated with this enum instance.
-
Unknown error
Declaration
Swift
case unknown(Error?)
Parameters
error
Possible error code associated with this enum instance.
-
We send back text slugs, to be interpreted by the user app.
Possible values are:
"ITCB-SDK-REJECT-OFFLINE"
: Device is Offline"ITCB-SDK-REJECT-BUSY"
: Device is busy"ITCB-SDK-REJECT-NO-QUESTION-MARK"
: The String needs to be phrased in the form of a question (question mark at the end)."ITCB-SDK-REJECT-PERIPHERAL-ERROR"
: There was some kind of error in the Peripheral."ITCB-SDK-REJECT-UNKNOWN"
: Unspecified reason
The user app should also extract any associated values (Unknown).
Declaration
Swift
public var localizedDescription: String { get }