public class

TopicManagementResponse

extends Object
java.lang.Object
   ↳ com.google.firebase.messaging.TopicManagementResponse

Class Overview

The response produced by FCM topic management operations.

Summary

Nested Classes
class TopicManagementResponse.Error A topic management error. 
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

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.