public final class

DeleteUsersResult

extends Object
java.lang.Object
   ↳ com.google.firebase.auth.DeleteUsersResult

Class Overview

Represents the result of the deleteUsersAsync(List) API.

Summary

Public Methods
List<ErrorInfo> getErrors()
A list of ErrorInfo instances describing the errors that were encountered during the deletion.
int getFailureCount()
Returns the number of users that failed to be deleted (possibly zero).
int getSuccessCount()
Returns the number of users that were deleted successfully (possibly zero).
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public List<ErrorInfo> getErrors ()

A list of ErrorInfo instances describing the errors that were encountered during the deletion. Length of this list is equal to the return value of getFailureCount().

Returns
  • A non-null list (possibly empty).

public int getFailureCount ()

Returns the number of users that failed to be deleted (possibly zero).

public int getSuccessCount ()

Returns the number of users that were deleted successfully (possibly zero). Users that did not exist prior to calling deleteUsersAsync(List) are considered to be successfully deleted.