subscribeTopic

open fun subscribeTopic(topic: MPLiveTopic)

Subscribes to a topic with a LiveTopicCriteria

Parameters

topic

The LiveTopicCriteria for setting up the subscription

Throws

MqttException

a MqttException if something unexpected happens