Stay organized with collections
Save and categorize content based on your preferences.
FirebaseAdmin.Messaging.BatchResponse
Response from an operation that sends FCM messages to multiple recipients.
Summary
See FirebaseMessaging.SendMulticastAsync(MulticastMessage).
Properties
|
Responses
|
Gets information about all responses for the batch.
|
SuccessCount
|
int
Gets a count of how many of the responses in Responses were successful.
|
Public attributes
|
FailureCount => this.Responses.Count - this.SuccessCount
|
int
Gets a count of how many of the responses in Responses were unsuccessful.
|
Properties
Responses
IReadOnlyList< SendResponse > Responses
Gets information about all responses for the batch.
SuccessCount
int SuccessCount
Gets a count of how many of the responses in Responses were successful.
Public attributes
FailureCount
int FailureCount => this.Responses.Count - this.SuccessCount
Gets a count of how many of the responses in Responses were unsuccessful.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-03-24 UTC.
[null,null,["Last updated 2022-03-24 UTC."],[],[],null,["# FirebaseAdmin.Messaging.BatchResponse Class Reference\n\nFirebaseAdmin.Messaging.BatchResponse\n=====================================\n\nResponse from an operation that sends FCM messages to multiple recipients.\n\nSummary\n-------\n\nSee [FirebaseMessaging.SendMulticastAsync(MulticastMessage)](/docs/reference/admin/dotnet/class/firebase-admin/messaging/firebase-messaging#class_firebase_admin_1_1_messaging_1_1_firebase_messaging_1ac19b28383fa9217cf44189aaac852613).\n\n| ### Properties ||\n|-----------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Responses](#class_firebase_admin_1_1_messaging_1_1_batch_response_1a4818148e343cbd8a3c8b6bed23cba558) | `IReadOnlyList\u003c `[SendResponse](/docs/reference/admin/dotnet/class/firebase-admin/messaging/send-response#class_firebase_admin_1_1_messaging_1_1_send_response)` \u003e` Gets information about all responses for the batch. |\n| [SuccessCount](#class_firebase_admin_1_1_messaging_1_1_batch_response_1a6f47872a787c5dffcb47da063171d501) | `int` Gets a count of how many of the responses in [Responses](/docs/reference/admin/dotnet/class/firebase-admin/messaging/batch-response#class_firebase_admin_1_1_messaging_1_1_batch_response_1a4818148e343cbd8a3c8b6bed23cba558) were successful. |\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [FailureCount](#class_firebase_admin_1_1_messaging_1_1_batch_response_1a194a70ccc147c494bb64013935d75761)` =\u003e this.Responses.Count - this.SuccessCount` | `int` Gets a count of how many of the responses in [Responses](/docs/reference/admin/dotnet/class/firebase-admin/messaging/batch-response#class_firebase_admin_1_1_messaging_1_1_batch_response_1a4818148e343cbd8a3c8b6bed23cba558) were unsuccessful. |\n\nProperties\n----------\n\n### Responses\n\n```text\nIReadOnlyList\u003c SendResponse \u003e Responses\n``` \nGets information about all responses for the batch. \n\n### SuccessCount\n\n```text\nint SuccessCount\n``` \nGets a count of how many of the responses in [Responses](/docs/reference/admin/dotnet/class/firebase-admin/messaging/batch-response#class_firebase_admin_1_1_messaging_1_1_batch_response_1a4818148e343cbd8a3c8b6bed23cba558) were successful.\n\nPublic attributes\n-----------------\n\n### FailureCount\n\n```text\nint FailureCount =\u003e this.Responses.Count - this.SuccessCount\n``` \nGets a count of how many of the responses in [Responses](/docs/reference/admin/dotnet/class/firebase-admin/messaging/batch-response#class_firebase_admin_1_1_messaging_1_1_batch_response_1a4818148e343cbd8a3c8b6bed23cba558) were unsuccessful."]]