| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.deps.transport.mqtt |
| Modifier and Type | Method and Description |
|---|---|
MqttQos |
MqttMessage.getQos()
Gets the Qos value of the Message
|
static MqttQos |
MqttQos.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttQos[] |
MqttQos.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MqttConnection.publishMessage(String topic,
MqttQos qos,
byte[] message)
Sends a PUBLISH message to the MQTT broker
|
static int |
MqttMessage.retrieveQosValue(MqttQos qos)
Converts the MqttQOS value to a integer representation
|
void |
MqttMessage.setQos(MqttQos qos)
Sets the Qos value of the Message
|
void |
MqttConnection.subscribe(String topic,
MqttQos qos)
Send the SUBSCRIBE message to the MQTT broker
|
Copyright © 2019. All rights reserved.