AddonClient.AddonFailureEventType

@PublicApi
public enum AddonClient.AddonFailureEventType



Represents a failure event occurred before, during or after an add-on session.

Summary

Enum Values

FAILURE_APP_GENERIC_ERROR

Failure due to a generic error with the add-on application.

FAILURE_APP_NETWORK_CONNECTIVITY

Failure due to a network connectivity issue between the add-on application and its servers.

FAILURE_APP_STARTUP

Failure due to an error in starting up the add-on application.

FAILURE_EVENT_UNSPECIFIED

Failure event that is not specified in the predefined types.

FAILURE_USER_CANCELLED

Failure due to cancellation of the operation by the user.

FAILURE_USER_INSUFFICIENT_TIER

Failure due to the user membership tier not having sufficient privileges. e.g. user not having a premium membership for the add-on application.

FAILURE_USER_UNAUTHORIZED

Failure due to the user being in wrong locale or age group etc., effectively being an unauthorized user for the add-on activity.

FAILURE_USER_UNKNOWN

Failure due to user login or a related failure.

Public methods

static AddonClient.AddonFailureEventType

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

static AddonClient.AddonFailureEventType[]

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

Enum Values

FAILURE_APP_GENERIC_ERROR

@PublicApi
AddonClient.AddonFailureEventType AddonClient.AddonFailureEventType.FAILURE_APP_GENERIC_ERROR

Failure due to a generic error with the add-on application.

FAILURE_APP_NETWORK_CONNECTIVITY

@PublicApi
AddonClient.AddonFailureEventType AddonClient.AddonFailureEventType.FAILURE_APP_NETWORK_CONNECTIVITY

Failure due to a network connectivity issue between the add-on application and its servers.

FAILURE_APP_STARTUP

@PublicApi
AddonClient.AddonFailureEventType AddonClient.AddonFailureEventType.FAILURE_APP_STARTUP

Failure due to an error in starting up the add-on application.

FAILURE_EVENT_UNSPECIFIED

@PublicApi
AddonClient.AddonFailureEventType AddonClient.AddonFailureEventType.FAILURE_EVENT_UNSPECIFIED

Failure event that is not specified in the predefined types.

FAILURE_USER_CANCELLED

@PublicApi
AddonClient.AddonFailureEventType AddonClient.AddonFailureEventType.FAILURE_USER_CANCELLED

Failure due to cancellation of the operation by the user.

FAILURE_USER_INSUFFICIENT_TIER

@PublicApi
AddonClient.AddonFailureEventType AddonClient.AddonFailureEventType.FAILURE_USER_INSUFFICIENT_TIER

Failure due to the user membership tier not having sufficient privileges. e.g. user not having a premium membership for the add-on application.

FAILURE_USER_UNAUTHORIZED

@PublicApi
AddonClient.AddonFailureEventType AddonClient.AddonFailureEventType.FAILURE_USER_UNAUTHORIZED

Failure due to the user being in wrong locale or age group etc., effectively being an unauthorized user for the add-on activity.

FAILURE_USER_UNKNOWN

@PublicApi
AddonClient.AddonFailureEventType AddonClient.AddonFailureEventType.FAILURE_USER_UNKNOWN

Failure due to user login or a related failure.

Public methods

valueOf

public static AddonClient.AddonFailureEventType 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
AddonClient.AddonFailureEventType

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static AddonClient.AddonFailureEventType[] 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
AddonClient.AddonFailureEventType[]

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