| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.device |
The API for a device to communicate with an IoT Hub.
|
| com.microsoft.azure.sdk.iot.device.transport |
A transport for sending and receiving IoT Hub messages, along with supporting
functionality.
|
| Modifier and Type | Method and Description |
|---|---|
MessageType |
Message.getMessageType()
Getter for the Message type
|
static MessageType |
MessageType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageType[] |
MessageType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Message.setMessageType(MessageType type)
Setter for the Message type
|
| Constructor and Description |
|---|
IotHubTransportMessage(byte[] data,
MessageType messageType)
Constructor with binary data and message type
|
IotHubTransportMessage(byte[] data,
MessageType messageType,
java.lang.String messageId,
java.lang.String correlationId,
MessageProperty[] messageProperties) |
Copyright © 2023. All rights reserved.