com.yandex.metrica
Enum DeferredDeeplinkParametersListener.Error
java.lang.Object
java.lang.Enum<DeferredDeeplinkParametersListener.Error>
com.yandex.metrica.DeferredDeeplinkParametersListener.Error
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DeferredDeeplinkParametersListener.Error>
- Enclosing interface:
- DeferredDeeplinkParametersListener
public static enum DeferredDeeplinkParametersListener.Error extends java.lang.Enum<DeferredDeeplinkParametersListener.Error>
Содержит возможные значения ошибок для метода
DeferredDeeplinkParametersListener.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 DeferredDeeplinkParametersListener.Error | valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeferredDeeplinkParametersListener.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 DeferredDeeplinkParametersListener.Error NOT_A_FIRST_LAUNCH
Параметры отложенного deeplink не могут быть получены, так как запрос параметров отложенных deeplink возможен только при первом запуске.
PARSE_ERROR
public static final DeferredDeeplinkParametersListener.Error PARSE_ERROR
Отложенный deeplink не содержит валидных параметров.
NO_REFERRER
public static final DeferredDeeplinkParametersListener.Error NO_REFERRER
Означает, что реферрер не был получен (потому что на устройстве не было провайдера (сервисов Google Play, медиа-сервисов Huawei) или потому, что провайдер вернул значение null)
UNKNOWN
public static final DeferredDeeplinkParametersListener.Error UNKNOWN
Не удалось получить отложенный deeplink из-за неизвестной ошибки.
Method Detail
values
public static DeferredDeeplinkParametersListener.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 (DeferredDeeplinkParametersListener.Error c : DeferredDeeplinkParametersListener.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 DeferredDeeplinkParametersListener.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()