Enum Constant and Description |
---|
ACTIVITY_PERMISSION_DENIED
Permissions either were explicitly denied by the user or were never asked before
tracking event occurred (in which case it's an integration error)
|
BACKGROUND_LOCATION_DENIED
Tracking was started from the API, the app is in background, but the user didn't grant
the app permissions to start tracking from background.
|
LOCATION_PERMISSION_DENIED
Permissions either were explicitly denied by the user or were never asked before
tracking event occurred (in which case it's an integration error)
|
LOCATION_SERVICE_DISABLED
Location services disabled
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
code |
java.lang.String |
userActionCTA |
java.lang.String |
userActionExplanation |
java.lang.String |
userActionTitle |
Modifier and Type | Method and Description |
---|---|
void |
resolve()
Navigates user to the dedicated settings menu.
|
java.lang.String |
toString() |
static Blocker |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Blocker[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Blocker LOCATION_PERMISSION_DENIED
public static final Blocker LOCATION_SERVICE_DISABLED
public static final Blocker ACTIVITY_PERMISSION_DENIED
public static final Blocker BACKGROUND_LOCATION_DENIED
@NonNull public final java.lang.String userActionTitle
@NonNull public final java.lang.String userActionExplanation
@NonNull public final java.lang.String userActionCTA
@NonNull public final java.lang.String code
public static Blocker[] values()
for (Blocker c : Blocker.values()) System.out.println(c);
public static Blocker valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void resolve()
@NonNull @NotNull public java.lang.String toString()
toString
in class java.lang.Enum<Blocker>