azure-docs-sdk-java/archive/docs-ref-autogen/com.microsoft.azure.sdk.iot...

33 строки
2.5 KiB
YAML

### YamlMime:JavaType
methods:
- fullName: com.microsoft.azure.sdk.iot.device.MessagesSentCallback.onMessagesSent(List<Message> sentMessages, IotHubClientException clientException, Object callbackContext)
name: onMessagesSent(List<Message> sentMessages, IotHubClientException clientException, Object callbackContext)
nameWithType: MessagesSentCallback.onMessagesSent(List<Message> sentMessages, IotHubClientException clientException, Object callbackContext)
parameters:
- description: <p>the messages that either were sent or failed to send. </p>
name: sentMessages
type: List&lt;<xref href="com.microsoft.azure.sdk.iot.device.Message?alt=com.microsoft.azure.sdk.iot.device.Message&text=Message" data-throw-if-not-resolved="False"/>&gt;
- description: <p>the exception that was encountered while sending the request. If null, no exception was encountered and the messages were all successfully sent. </p>
name: clientException
type: <xref href="com.microsoft.azure.sdk.iot.device.exceptions.IotHubClientException?alt=com.microsoft.azure.sdk.iot.device.exceptions.IotHubClientException&text=IotHubClientException" data-throw-if-not-resolved="False"/>
- description: <p>a custom context given by the developer. Will be null if no custom context was provided. </p>
name: callbackContext
type: <xref href="Object?alt=Object&text=Object" data-throw-if-not-resolved="False"/>
summary: >-
<p>The callback that is executed once the messages associated with this callback has been acknowledged by the service.</p>
<p>These messages are sent in bulk and have either all succeeded or all failed to send.</p>
<p></p>
syntax: public void onMessagesSent(List<Message> sentMessages, IotHubClientException clientException, Object callbackContext)
uid: com.microsoft.azure.sdk.iot.device.MessagesSentCallback.onMessagesSent(List<Message>,IotHubClientException,Object)
nameWithType: MessagesSentCallback
syntax: public interface MessagesSentCallback
type: interface
uid: com.microsoft.azure.sdk.iot.device.MessagesSentCallback
fullName: com.microsoft.azure.sdk.iot.device.MessagesSentCallback
name: MessagesSentCallback
package: com.microsoft.azure.sdk.iot.device
summary: <p>The callback interface that defines how this client will notify you once a batch of messages has been sent and acknowledged by the service. Used by <xref uid="" data-throw-if-not-resolved="false" data-raw-source="InternalClient#sendEventsAsync(List, MessagesSentCallback, Object)"></xref></p>
metadata: {}