public class TrackingError
extends java.lang.Object
TrackingError
returned for all the reasons, except when
more specific error is available. Also make sure to check isCritical()
to infer SDK behavior if circumstances, that led to error, changed.Modifier and Type | Field and Description |
---|---|
static int |
AUTHORIZATION_ERROR
Your free trial ended or account was not renewed.
|
int |
code
Code of tracking error from
TrackingError . |
static int |
DATA_STORE_ERROR
Database error while data saving.
|
static int |
GPS_PROVIDER_DISABLED_ERROR
Tracking won't start due to disabled gps.
|
static int |
INVALID_PUBLISHABLE_KEY_ERROR
Publishable key is invalid.
|
java.lang.String |
message
Message of tracking error from.
|
static int |
PERMISSION_DENIED_ERROR
Tracking won't start due to denied (or absent) permission.
|
static int |
UNKNOWN_ERROR
An error that we couldn't recognize.
|
static int |
UNKNOWN_NETWORK_ERROR
Request error that we couldn't recognize.
|
Constructor and Description |
---|
TrackingError() |
TrackingError(int code) |
TrackingError(int code,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCritical() |
java.lang.String |
toString() |
public static final int UNKNOWN_ERROR
public static final int INVALID_PUBLISHABLE_KEY_ERROR
public static final int AUTHORIZATION_ERROR
public static final int PERMISSION_DENIED_ERROR
public static final int GPS_PROVIDER_DISABLED_ERROR
public static final int UNKNOWN_NETWORK_ERROR
public static final int DATA_STORE_ERROR
public final int code
TrackingError
.public final java.lang.String message
public TrackingError()
public TrackingError(int code)
public TrackingError(int code, java.lang.String message)
public boolean isCritical()
@NonNull @NotNull public java.lang.String toString()
toString
in class java.lang.Object