public static interface MeridianLocationManager.LocationUpdateListener
A listener for receiving notifications about updated locations, service requests or errors from the MeridianLocationManager
.
Modifier and Type | Method and Description |
---|---|
void |
onEnableBluetoothRequest()
Called when Bluetooth is currently disabled and more accurate location information could be derived with Bluetooth enabled.
|
void |
onEnableGPSRequest()
Called when GPS is currently disabled and more accurate location information could be derived with GPS enabled.
|
void |
onEnableWiFiRequest()
Called when WiFi is currently disabled and more accurate location information could be derived with WiFi enabled.
|
void |
onLocationError(java.lang.Throwable tr)
Called when there was an error updating the users location.
|
void |
onLocationUpdate(MeridianLocation location)
Called when the users location has changed.
|
void onLocationUpdate(MeridianLocation location)
Called when the users location has changed.
void onLocationError(java.lang.Throwable tr)
Called when there was an error updating the users location.
void onEnableBluetoothRequest()
Called when Bluetooth is currently disabled and more accurate location information could be derived with Bluetooth enabled.
It would be appropriate to prompt the user to turn on their Bluetooth and provide and button that will launch an intent to display the Bluetooth settings if this added functionality is desired.
void onEnableWiFiRequest()
Called when WiFi is currently disabled and more accurate location information could be derived with WiFi enabled.
It would be appropriate to prompt the user to turn on their WiFi and provide and button that will launch an intent to display the WiFi settings if this added functionality is desired.
void onEnableGPSRequest()
Called when GPS is currently disabled and more accurate location information could be derived with GPS enabled.
It would be appropriate to prompt the user to turn on their GPS and provide and button that will launch an intent to display the GPS settings if this added functionality is desired.