Enum Class AdvIdentifiersResult.Details

java.lang.Object
java.lang.Enum<AdvIdentifiersResult.Details>
io.appmetrica.analytics.AdvIdentifiersResult.Details
All Implemented Interfaces:
Serializable, Comparable<AdvIdentifiersResult.Details>, Constable
Enclosing class:
AdvIdentifiersResult

public static enum AdvIdentifiersResult.Details extends Enum<AdvIdentifiersResult.Details>
Describes information about request status.
  • Enum Constant Details

    • OK

      public static final AdvIdentifiersResult.Details OK
      Identifier was retrieved and the value in AdvIdentifiersResult.AdvId.advId is not null and valid.
    • IDENTIFIER_PROVIDER_UNAVAILABLE

      public static final AdvIdentifiersResult.Details IDENTIFIER_PROVIDER_UNAVAILABLE
      Identifier could not be retrieved because providing services are either absent or unavailable.
    • INVALID_ADV_ID

      public static final AdvIdentifiersResult.Details 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

      public static final AdvIdentifiersResult.Details FEATURE_DISABLED
      Identifier could not be retrieved because access to adv_id is forbidden by startup.
    • NO_STARTUP

      public static final AdvIdentifiersResult.Details 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

      public static final AdvIdentifiersResult.Details INTERNAL_ERROR
      Identifier could not be retrieved due to some unknown error.
  • Method Details

    • values

      public static AdvIdentifiersResult.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

      public static AdvIdentifiersResult.Details valueOf(String name)
      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 name
      NullPointerException - if the argument is null