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>
Possible values for
DeferredDeeplinkParametersListener.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 valid deferred deeplink parameters
|
UNKNOWN
Could not obtain deferred deeplink parameters due to unknown error
|
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
Tells that Google Play referrer wasn't obtained because it can be requested during first launch only
PARSE_ERROR
public static final DeferredDeeplinkParametersListener.Error PARSE_ERROR
Tells that Google Play referrer was obtained but it did not contain valid deferred deeplink parameters
NO_REFERRER
public static final DeferredDeeplinkParametersListener.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 DeferredDeeplinkParametersListener.Error UNKNOWN
Could not obtain deferred deeplink parameters due to unknown error
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()