Structure
Revue.MqttOptions
MQTT / presence connection settings (mirrors core RevueKitMqttOptions; same shape as Android MqttOptions).
nonisolated struct MqttOptionsOverview
brokerUrl: scheme must be tcp / ssl / tls / mqtts / ws / wss, e.g.wss://www.arctos.tw/mqtt; nil = the core built-in broker (wss://www.arctos.tw/mqtt). Invalid values makeinitializethrow.invalidConfiguration.username/password: nil = core built-in credentials.caCertPath: PEM CA bundle path supplied by the App; nil = no server certificate verification (the core logs a warning for TLS brokers). Used only for TLS schemes.presenceQos: QoS for presence publish/subscribe/LWT, 0-2, default 1; out of range throws.invalidConfiguration.deferStart: true =initializedoes not start presence: no MQTT client is created, the broker is never contacted and no presence events are delivered. The other fields are ignored while deferred. Usedeferredfor this case and callRevue.startPresence(_:)later with the real settings. It applies to oneinitializeonly.startPresence(_:)ignores this field.
Topics
Initializers
Instance Properties
var brokerUrl: String?var caCertPath: String?var deferStart: Boolvar password: String?var presenceQos: Intvar username: String?
Type Properties
static var deferred: MqttOptionsSettings for an App that has no MQTT account yet:
initializedoes not start presence. CallRevue.startPresence(_:)after the user signs in.