Package io.appmetrica.analytics
Enum Class AdvIdentifiersResult.Details
- All Implemented Interfaces:
Serializable
,Comparable<AdvIdentifiersResult.Details>
,Constable
- Enclosing class:
- AdvIdentifiersResult
Describes information about request status.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIdentifier could not be retrieved because access to adv_id is forbidden by startup.Identifier could not be retrieved because providing services are either absent or unavailable.Identifier could not be retrieved due to some unknown error.Identifier was retrieved successfully, but its value equals to default value, so it can't be used to identify device.Identifier could not be retrieved because there was no startup yet so we cannot know if access to adv_id is forbidden.Identifier was retrieved and the value inAdvIdentifiersResult.AdvId.advId
is not null and valid. -
Method Summary
Modifier and TypeMethodDescriptionstatic AdvIdentifiersResult.Details
Returns the enum constant of this class with the specified name.static AdvIdentifiersResult.Details[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
Identifier was retrieved and the value inAdvIdentifiersResult.AdvId.advId
is not null and valid. -
IDENTIFIER_PROVIDER_UNAVAILABLE
Identifier could not be retrieved because providing services are either absent or unavailable. -
INVALID_ADV_ID
Identifier was retrieved successfully, but its value equals to default value, so it can't be used to identify device. -
FEATURE_DISABLED
Identifier could not be retrieved because access to adv_id is forbidden by startup. -
NO_STARTUP
Identifier could not be retrieved because there was no startup yet so we cannot know if access to adv_id is forbidden. -
INTERNAL_ERROR
Identifier could not be retrieved due to some unknown error.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-