LocationManager
. In LocationManager
version the status codes are
in LocationStatus
@Deprecated
public class SitumError
extends java.lang.Object
All errors has an errorId, type and name. Optionally it can be a error
description and extra data inside a android Bundle
Modifier and Type | Class and Description |
---|---|
static class |
SitumError.ErrorType
Deprecated.
Types of errors.
|
Modifier and Type | Field and Description |
---|---|
static int |
BT_NOT_AVAILABLE
Deprecated.
BT not available in the devide
|
static int |
BUILDING_WITH_NO_CALIBRATIONS
Deprecated.
The building doesn't have calibrations
|
static int |
COMPASS_NOT_USED
Deprecated.
The compass is not used for positioning
|
static int |
COMPASS_USED
Deprecated.
Compass used for positioning
|
static <any> |
CREATOR
Deprecated.
|
java.lang.String |
description
Deprecated.
|
int |
errorId
Deprecated.
|
Bundle |
extras
Deprecated.
|
static int |
INTERNET_NOT_AVAILABLE
Deprecated.
No internet connection from the device.
|
static int |
INVALID_PARAMETERS
Deprecated.
Invalid Options Introduced to the service
|
static int |
LOCALIZATION_IS_OFF
Deprecated.
Location services are disabled
|
static int |
MISSING_FINE_LOCATION_PERMISSION
Deprecated.
ACCESS_FINE_LOCATION permission is missing
|
static int |
MISSING_LOCATION_PERMISSION
Deprecated.
Location permission is disabled
|
static int |
MODEL_DOWNLOAD_ERROR
Deprecated.
Error downloading model of building
|
java.lang.String |
name
Deprecated.
|
static int |
NEED_TO_CALIBRATE_MAG
Deprecated.
The mag is uncalibrated and need to be calibrated
|
static int |
NO_NEED_TO_CALIBRATE_MAG
Deprecated.
The mag sensor is now calibrated and send valid data
|
static int |
SERVICE_ALREADY_RUNNING_ERROR
Deprecated.
A Positioning service is already running on background or in other app
|
java.lang.String |
type
Deprecated.
|
static int |
USER_NOT_IN_BUILDING
Deprecated.
The user is not near the building
|
static int |
USER_WITHOUT_BUILDINGS
Deprecated.
The user doesn't have buildings
|
Constructor and Description |
---|
SitumError()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Deprecated.
|
boolean |
equals(java.lang.Object o)
Deprecated.
|
int |
hashCode()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
void |
writeToParcel(Parcel dest,
int flags)
Deprecated.
|
public static final int BT_NOT_AVAILABLE
public static final int LOCALIZATION_IS_OFF
public static final int MISSING_LOCATION_PERMISSION
public static final int MISSING_FINE_LOCATION_PERMISSION
public static final int INTERNET_NOT_AVAILABLE
public static final int USER_NOT_IN_BUILDING
public static final int BUILDING_WITH_NO_CALIBRATIONS
public static final int NEED_TO_CALIBRATE_MAG
public static final int NO_NEED_TO_CALIBRATE_MAG
public static final int COMPASS_NOT_USED
public static final int COMPASS_USED
public static final int MODEL_DOWNLOAD_ERROR
public static final int SERVICE_ALREADY_RUNNING_ERROR
public static final int USER_WITHOUT_BUILDINGS
public static final int INVALID_PARAMETERS
public static final <any> CREATOR
public int errorId
public java.lang.String type
public java.lang.String name
public java.lang.String description
public Bundle extras
public int describeContents()
public void writeToParcel(Parcel dest, int flags)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object