MqttSubscriptionClient

Functions

Link copied to clipboard
open fun connect(cleanSession: Boolean)
Connects to an Mqtt client
Link copied to clipboard
open fun disconnect()
Disconnect from the current Mqtt service connection
Link copied to clipboard
Gets the current subscriptions Listener
Link copied to clipboard
open fun isConnected(): Boolean
Returns a boolean that tells if the Mqtt client is currently connected
Link copied to clipboard
Sets a subscription listener that receives
Link copied to clipboard
open fun subscribeTopic(topic: MPLiveTopic)
Subscribes to a topic with a LiveTopicCriteria
Link copied to clipboard
open fun unsubscribeTopic(topic: MPLiveTopic)
Unsubscripes to a topic with a LiveTopicCriteria