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>
Possible values for
DeferredDeeplinkListener.onError(Error, String)
Enum Constant Summary
Enum Constant and Description |
---|
NO_REFERRER
Means that referrer was not obtained (because there was no provider (Google Play Services, Huawei Media Services) on device or because the provider returned null)
|
NOT_A_FIRST_LAUNCH
Tells that Google Play referrer wasn't obtained because it can be requested during first launch only
|
PARSE_ERROR
Tells that Google Play referrer was obtained but it did not contain deferred deeplink
|
UNKNOWN
Could not obtain deferred deeplink due to unknown error
|
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
Tells that Google Play referrer wasn't obtained because it can be requested during first launch only
PARSE_ERROR
public static final DeferredDeeplinkListener.Error PARSE_ERROR
Tells that Google Play referrer was obtained but it did not contain deferred deeplink
NO_REFERRER
public static final DeferredDeeplinkListener.Error NO_REFERRER
Means that referrer was not obtained (because there was no provider (Google Play Services, Huawei Media Services) on device or because the provider returned null)
UNKNOWN
public static final DeferredDeeplinkListener.Error UNKNOWN
Could not obtain deferred deeplink due to unknown error
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()