| Package | Description |
|---|---|
| com.amazonaws.mobileconnectors.iot |
AWSIotAndroidClient
AWS IoT Android
AWSIotAndroidClient provides access to the AWS IoT Service from an Android App.
|
| Modifier and Type | Method and Description |
|---|---|
AWSIotMqttQos |
AWSIotMqttLastWillAndTestament.getQos()
Get the Quality of Service for the LWT message.
|
static AWSIotMqttQos |
AWSIotMqttQos.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AWSIotMqttQos[] |
AWSIotMqttQos.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AWSIotMqttManager.publishData(byte[] data,
String topic,
AWSIotMqttQos qos)
Publish data to an MQTT topic.
|
void |
AWSIotMqttManager.publishData(byte[] data,
String topic,
AWSIotMqttQos qos,
AWSIotMqttMessageDeliveryCallback callback,
Object userData)
Publish data to an MQTT topic.
|
void |
AWSIotMqttManager.publishString(String str,
String topic,
AWSIotMqttQos qos)
Send a message to an MQTT topic.
|
void |
AWSIotMqttManager.publishString(String str,
String topic,
AWSIotMqttQos qos,
AWSIotMqttMessageDeliveryCallback cb,
Object userData)
Send a message to an MQTT topic.
|
void |
AWSIotMqttManager.subscribeToTopic(String topic,
AWSIotMqttQos qos,
AWSIotMqttNewMessageCallback callback)
Subscribes to an MQTT topic.
|
| Constructor and Description |
|---|
AWSIotMqttLastWillAndTestament(String willTopic,
String willMessage,
AWSIotMqttQos willQos)
Create a new LWT parameter object.
|
Copyright © 2017. All rights reserved.