LocationManager
. In LocationManager
version the status codes are
in LocationStatus
@Deprecated public class SitumError extends Object implements android.os.Parcelable
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 android.os.Parcelable.Creator<SitumError> |
CREATOR
Deprecated.
|
String |
description
Deprecated.
|
int |
errorId
Deprecated.
|
android.os.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
|
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
|
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(Object o)
Deprecated.
|
int |
hashCode()
Deprecated.
|
String |
toString()
Deprecated.
|
void |
writeToParcel(android.os.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 android.os.Parcelable.Creator<SitumError> CREATOR
public int errorId
public String type
public String name
public String description
public android.os.Bundle extras