BatchResponse interface

Interface representing the server response from theMessaging.sendEach() andMessaging.sendEachForMulticast() methods.

Signature:

exportinterfaceBatchResponse

Properties

PropertyTypeDescription
failureCountnumberThe number of messages that resulted in errors when sending.
responsesSendResponse[]An array of responses, each corresponding to a message.
successCountnumberThe number of messages that were successfully handed off for sending.

BatchResponse.failureCount

The number of messages that resulted in errors when sending.

Signature:

failureCount:number;

BatchResponse.responses

An array of responses, each corresponding to a message.

Signature:

responses:SendResponse[];

BatchResponse.successCount

The number of messages that were successfully handed off for sending.

Signature:

successCount:number;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-11-12 UTC.