AddonClient.AddonFailureEventType

@PublicApi
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 functions

java-static AddonClient.AddonFailureEventType!
valueOf(name: String!)

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

java-static Array<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
val AddonClient.AddonFailureEventType.FAILURE_APP_GENERIC_ERRORAddonClient.AddonFailureEventType

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

FAILURE_APP_NETWORK_CONNECTIVITY

@PublicApi
val AddonClient.AddonFailureEventType.FAILURE_APP_NETWORK_CONNECTIVITYAddonClient.AddonFailureEventType

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

FAILURE_APP_STARTUP

@PublicApi
val AddonClient.AddonFailureEventType.FAILURE_APP_STARTUPAddonClient.AddonFailureEventType

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

FAILURE_EVENT_UNSPECIFIED

@PublicApi
val AddonClient.AddonFailureEventType.FAILURE_EVENT_UNSPECIFIEDAddonClient.AddonFailureEventType

Failure event that is not specified in the predefined types.

FAILURE_USER_CANCELLED

@PublicApi
val AddonClient.AddonFailureEventType.FAILURE_USER_CANCELLEDAddonClient.AddonFailureEventType

Failure due to cancellation of the operation by the user.

FAILURE_USER_INSUFFICIENT_TIER

@PublicApi
val AddonClient.AddonFailureEventType.FAILURE_USER_INSUFFICIENT_TIERAddonClient.AddonFailureEventType

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
val AddonClient.AddonFailureEventType.FAILURE_USER_UNAUTHORIZEDAddonClient.AddonFailureEventType

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
val AddonClient.AddonFailureEventType.FAILURE_USER_UNKNOWNAddonClient.AddonFailureEventType

Failure due to user login or a related failure.

Public functions

valueOf

java-static fun valueOf(name: String!): AddonClient.AddonFailureEventType!

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: java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

java-static fun values(): Array<AddonClient.AddonFailureEventType!>!

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
Array<AddonClient.AddonFailureEventType!>!

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