Interface MeridianLocationManager.LocationUpdateListener
- All Known Implementing Classes:
MapView
,UploadLocationService
- Enclosing class:
- MeridianLocationManager
public static interface MeridianLocationManager.LocationUpdateListener
A listener for receiving notifications about updated locations, service requests or errors
from the
MeridianLocationManager
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when Bluetooth is currently disabled and more accurate location information could be derived with Bluetooth enabled.void
Called when GPS is currently disabled and more accurate location information could be derived with GPS enabled.void
Called when WiFi is currently disabled and more accurate location information could be derived with WiFi enabled.void
Called when there was an error updating the users location.void
onLocationUpdate
(MeridianLocation location) Called when the users location has changed.
-
Method Details
-
onLocationUpdate
Called when the users location has changed. -
onLocationError
Called when there was an error updating the users location. -
onEnableBluetoothRequest
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.
-
onEnableWiFiRequest
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.
-
onEnableGPSRequest
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.
-