FirebaseAppDistributionException.Status

public enum FirebaseAppDistributionException.Status


Enum for potential error statuses that caused the FirebaseAppDistributionException.

Summary

Enum Values

API_DISABLED

The Firebase App Distribution Tester API is disabled for this project.

AUTHENTICATION_CANCELED

The authentication process was canceled (typically by the tester).

AUTHENTICATION_FAILURE

The authentication process failed.

DOWNLOAD_FAILURE

The new release failed to download.

HOST_ACTIVITY_INTERRUPTED

The host activity for a confirmation dialog was destroyed or pushed to the backstack.

INSTALLATION_CANCELED

The installation was canceled (typically by the tester).

INSTALLATION_FAILURE

The new release failed to install.

NETWORK_FAILURE

No network was available to make requests, or the request timed out.

NOT_IMPLEMENTED

This API is not implemented.

UNKNOWN

Unknown error or an error from a different error domain.

UPDATE_NOT_AVAILABLE

An update was not available for the current tester and app.

Public methods

static FirebaseAppDistributionException.Status

Returns the enum constant of this type with the specified name.

static FirebaseAppDistributionException.Status[]

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

API_DISABLED

FirebaseAppDistributionException.Status FirebaseAppDistributionException.Status.API_DISABLED

The Firebase App Distribution Tester API is disabled for this project.

Before you use the App Distribution SDK in your app, you must enable the API in the Google Cloud console. For more information, see the documentation. If you enabled this API recently, wait a few minutes for the action to propagate to the App Distribution systems, and retry.

AUTHENTICATION_CANCELED

FirebaseAppDistributionException.Status FirebaseAppDistributionException.Status.AUTHENTICATION_CANCELED

The authentication process was canceled (typically by the tester).

AUTHENTICATION_FAILURE

FirebaseAppDistributionException.Status FirebaseAppDistributionException.Status.AUTHENTICATION_FAILURE

The authentication process failed. The tester was either not signed in, does not have access, or something went wrong. Try signing in again by calling signInTester.

DOWNLOAD_FAILURE

FirebaseAppDistributionException.Status FirebaseAppDistributionException.Status.DOWNLOAD_FAILURE

The new release failed to download. This was a most likely due to a transient condition and may be corrected by retrying the call to updateIfNewReleaseAvailable or updateApp.

HOST_ACTIVITY_INTERRUPTED

FirebaseAppDistributionException.Status FirebaseAppDistributionException.Status.HOST_ACTIVITY_INTERRUPTED

The host activity for a confirmation dialog was destroyed or pushed to the backstack. Try calling updateIfNewReleaseAvailable again.

INSTALLATION_CANCELED

FirebaseAppDistributionException.Status FirebaseAppDistributionException.Status.INSTALLATION_CANCELED

The installation was canceled (typically by the tester).

INSTALLATION_FAILURE

FirebaseAppDistributionException.Status FirebaseAppDistributionException.Status.INSTALLATION_FAILURE

The new release failed to install. Verify that the new release has the same signing key as the version running on device.

NETWORK_FAILURE

FirebaseAppDistributionException.Status FirebaseAppDistributionException.Status.NETWORK_FAILURE

No network was available to make requests, or the request timed out. Check the tester's internet connection and retry the call to FirebaseAppDistribution.

NOT_IMPLEMENTED

FirebaseAppDistributionException.Status FirebaseAppDistributionException.Status.NOT_IMPLEMENTED

This API is not implemented.

This build was compiled against the API only. This may be intentional if this variant is intended for use in production. Otherwise you may need to include a dependency on com.google.firebase:firebase-appdistribution.

UNKNOWN

FirebaseAppDistributionException.Status FirebaseAppDistributionException.Status.UNKNOWN

Unknown error or an error from a different error domain.

UPDATE_NOT_AVAILABLE

FirebaseAppDistributionException.Status FirebaseAppDistributionException.Status.UPDATE_NOT_AVAILABLE

An update was not available for the current tester and app. Make sure that checkForNewRelease returns with a non-null AppDistributionRelease before calling updateApp

Public methods

valueOf

public static FirebaseAppDistributionException.Status valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
FirebaseAppDistributionException.Status

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static FirebaseAppDistributionException.Status[] values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
FirebaseAppDistributionException.Status[]

an array containing the constants of this enum type, in the order they're declared