public final class

UserImportResult

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

Class Overview

Represents the result of the importUsersAsync(List, UserImportOptions) API.

Summary

Public Methods
List<ErrorInfo> getErrors()
A list of ErrorInfo instances describing the errors that were encountered during the import.
int getFailureCount()
Returns the number of users that failed to be imported.
int getSuccessCount()
Returns the number of users that were imported successfully.
[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 import. 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 imported.

Returns
  • number of users that resulted in import failures (possibly zero).

public int getSuccessCount ()

Returns the number of users that were imported successfully.

Returns
  • number of users successfully imported (possibly zero).