com.yandex.metrica
Enum DeferredDeeplinkListener.Error
java.lang.Object
java.lang.Enum<DeferredDeeplinkListener.Error>
com.yandex.metrica.DeferredDeeplinkListener.Error
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DeferredDeeplinkListener.Error>
- Enclosing interface:
- DeferredDeeplinkListener
public static enum DeferredDeeplinkListener.Error extends java.lang.Enum<DeferredDeeplinkListener.Error>
Содержит возможные значения ошибок для метода
DeferredDeeplinkListener.onError(Error, String)
Enum Constant Summary
Enum Constant and Description |
---|
NO_REFERRER
Означает, что реферрер не был получен (потому что на устройстве не было провайдера (сервисов Google Play, медиа-сервисов Huawei) или потому, что провайдер вернул значение null).
|
NOT_A_FIRST_LAUNCH
Отложенный deeplink не может быть получен, так как запрос отложенного deeplink возможен только при первом запуске.
|
PARSE_ERROR
Не удалось найти отложенный deeplink.
|
UNKNOWN
Не удалось получить отложенный deeplink из-за неизвестной ошибки.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String | getDescription() |
static DeferredDeeplinkListener.Error | valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeferredDeeplinkListener.Error[] | values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Enum Constant Detail
NOT_A_FIRST_LAUNCH
public static final DeferredDeeplinkListener.Error NOT_A_FIRST_LAUNCH
Отложенный deeplink не может быть получен, так как запрос отложенного deeplink возможен только при первом запуске.
PARSE_ERROR
public static final DeferredDeeplinkListener.Error PARSE_ERROR
Не удалось найти отложенный deeplink. Такое возможно в случае, если реферрер не содержал параметра appmetrica_deep_link.
NO_REFERRER
public static final DeferredDeeplinkListener.Error NO_REFERRER
Означает, что реферрер не был получен (потому что на устройстве не было провайдера (сервисов Google Play, медиа-сервисов Huawei) или потому, что провайдер вернул значение null).
UNKNOWN
public static final DeferredDeeplinkListener.Error UNKNOWN
Не удалось получить отложенный deeplink из-за неизвестной ошибки.
Method Detail
values
public static DeferredDeeplinkListener.Error[] values()
Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DeferredDeeplinkListener.Error c : DeferredDeeplinkListener.Error.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static DeferredDeeplinkListener.Error valueOf(java.lang.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.)
- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
getDescription
public java.lang.String getDescription()