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