MqttClientOptions

data class MqttClientOptions(val clientId: String = "client_android_id", val host: String, val username: String, val passwords: String, val isSessionClean: Boolean = false, val connectTimeout: Int = 30, val keepAliveIntervals: Int = 20, val autoReconnectInterval: Int = 10, val topics: List<Topic> = emptyList())

MQTT client configuration

Constructors

Link copied to clipboard
constructor(clientId: String = "client_android_id", host: String, username: String, passwords: String, isSessionClean: Boolean = false, connectTimeout: Int = 30, keepAliveIntervals: Int = 20, autoReconnectInterval: Int = 10, topics: List<Topic> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val isSessionClean: Boolean = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun toMqttConnectOptions(): MqttConnectOptions