public interface MessageSentCallback
InternalClient.sendEventAsync(Message, MessageSentCallback, Object)| Modifier and Type | Method and Description |
|---|---|
void |
onMessageSent(Message sentMessage,
IotHubClientException clientException,
java.lang.Object callbackContext)
The callback that is executed once the message associated with this callback has been acknowledged by the service.
|
void onMessageSent(Message sentMessage, IotHubClientException clientException, java.lang.Object callbackContext)
sentMessage - the message that either was sent or failed to send.clientException - the exception that was encountered while sending the request. If null, no exception was
encountered and the message was successfully sent.callbackContext - a custom context given by the developer. Will be null if no custom context was provided.Copyright © 2023. All rights reserved.