public class HyBidLocationManager
extends java.lang.Object
implements android.location.LocationListener
| Constructor and Description |
|---|
HyBidLocationManager(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
android.location.Location |
getUserLocation() |
void |
onLocationChanged(android.location.Location location) |
void |
onProviderDisabled(java.lang.String provider) |
void |
onProviderEnabled(java.lang.String provider) |
void |
onStatusChanged(java.lang.String provider,
int status,
android.os.Bundle extras) |
void |
startLocationUpdates()
Triggers a location update request and sets a timeout of 10 seconds to obtain the location
|
void |
stopLocationUpdates() |
public HyBidLocationManager(android.content.Context context)
public void startLocationUpdates()
public void stopLocationUpdates()
public android.location.Location getUserLocation()
public void onLocationChanged(android.location.Location location)
onLocationChanged in interface android.location.LocationListenerpublic void onStatusChanged(java.lang.String provider,
int status,
android.os.Bundle extras)
onStatusChanged in interface android.location.LocationListenerpublic void onProviderEnabled(java.lang.String provider)
onProviderEnabled in interface android.location.LocationListenerpublic void onProviderDisabled(java.lang.String provider)
onProviderDisabled in interface android.location.LocationListener