public class
TopicManagementResponse
extends Object
The response produced by FCM topic management operations.
Nested Class Summary
class | TopicManagementResponse.Error | A topic management error. |
Public Method Summary
List<TopicManagementResponse.Error> |
getErrors()
Gets a list of errors encountered while executing the topic management operation.
|
int |
getFailureCount()
Gets the number of registration tokens that could not be subscribed or unsubscribed, and
resulted in an error.
|
int |
getSuccessCount()
Gets the number of registration tokens that were successfully subscribed or unsubscribed.
|
Inherited Method Summary
Public Methods
public List<TopicManagementResponse.Error> getErrors ()
Gets a list of errors encountered while executing the topic management operation.
Returns
- A non-null list.
public int getFailureCount ()
Gets the number of registration tokens that could not be subscribed or unsubscribed, and resulted in an error.
Returns
- The number of failures.
public int getSuccessCount ()
Gets the number of registration tokens that were successfully subscribed or unsubscribed.
Returns
- The number of successes.