- RevueSDK
- RevuePresenceError
Enumeration
RevuePresenceError
Why Revue.startPresence(_:) failed.
enum RevuePresenceErrorTopics
Enumeration Cases
case invalidConfigurationpresenceQosis outside 0…2, or the core rejected the settings, such as a broker URL with an unsupported scheme (C -2). The running connection is not affected.case notInitializedThe SDK is not initialized, or was destroyed before the call ran (C -1 / -4).
case startFailed(code: Int32)The MQTT client could not be created or the connection request failed, leaving presence stopped. Carries the C error code for debugging.
Instance Properties
Type Methods
static func from(code: Int32) -> RevuePresenceErrorMaps a
revuekit_presence_startreturn code. Call it only when the code is not 0.