public static interface LocationManager.Code extends CommonErrorConstant.Code
Handler.onFailure(Error)
on the LocationManager
Modifier and Type | Field and Description |
---|---|
static int |
BUILDING_MODEL_DOWNLOAD_ERROR
An error occurred downloading the building model.
|
static int |
BUILDING_MODEL_PROCESSING_ERROR
An error occurred processing the building model
|
static int |
BUILDING_NOT_CALIBRATED
The building is not calibrated
|
static int |
BUILDING_NOT_FOUND
The building passed in the
LocationRequest is not found or you don't have permissions to see it |
static int |
LOCATION_DISABLED
Location must be enabled to scan Bluetooth and Wi-FI
|
static int |
MISSING_LOCATION_PERMISSION
Location permissions are needed to scan Bluetooth and Wi-FI.
|
static int |
SERVICE_ALREADY_RUNNING
The location service is already running
|
static int |
USER_WITHOUT_BUILDINGS
The user doesn't have buildings
|
INTERNET_NOT_AVAILABLE
static final int SERVICE_ALREADY_RUNNING
static final int MISSING_LOCATION_PERMISSION
Add
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
or
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
to your AndroidManifest.xml file
static final int LOCATION_DISABLED
static final int BUILDING_NOT_CALIBRATED
static final int BUILDING_MODEL_DOWNLOAD_ERROR
LocationManager.PropertyKey.EXTRA_NETWORK_ERROR
describing the errorstatic final int BUILDING_MODEL_PROCESSING_ERROR
static final int BUILDING_NOT_FOUND
LocationRequest
is not found or you don't have permissions to see itstatic final int USER_WITHOUT_BUILDINGS