| Package | Description |
|---|---|
| com.microsoft.azure.sdk.iot.service.messaging | |
| com.microsoft.azure.sdk.iot.service.transport.amqps |
| Modifier and Type | Method and Description |
|---|---|
void |
MessagingClient.sendAsync(String deviceId,
Message message,
Consumer<SendResult> onMessageSentCallback,
Object context)
Asynchronously send a cloud to device message to the device with the provided device Id.
|
void |
MessagingClient.sendAsync(String deviceId,
String moduleId,
Message message,
Consumer<SendResult> onMessageSentCallback,
Object context)
Asynchronously send a cloud to device message to the module with the provided module id on the device with the provided device Id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CloudToDeviceMessageSenderLinkHandler.sendAsync(String deviceId,
String moduleId,
Message iotHubMessage,
Consumer<SendResult> callback,
Object context) |
void |
CloudToDeviceMessageConnectionHandler.sendAsync(String deviceId,
String moduleId,
Message iotHubMessage,
Consumer<SendResult> callback,
Object context) |
Copyright © 2024. All rights reserved.