public class FusedLocationProviderApiImpl extends Object implements FusedLocationProviderApi, LocationEngine.Callback
FusedLocationProviderApi.| Constructor and Description |
|---|
FusedLocationProviderApiImpl(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
android.location.Location |
getLastLocation() |
void |
removeLocationUpdates(LocationListener listener) |
void |
removeLocationUpdates(android.app.PendingIntent callbackIntent) |
void |
reportLocation(android.location.Location location) |
void |
requestLocationUpdates(LocationRequest request,
LocationListener listener) |
void |
requestLocationUpdates(LocationRequest request,
LocationListener listener,
android.os.Looper looper) |
void |
requestLocationUpdates(LocationRequest request,
android.app.PendingIntent callbackIntent) |
void |
setMockLocation(android.location.Location mockLocation) |
void |
setMockMode(boolean isMockMode) |
void |
setMockTrace(File file) |
public FusedLocationProviderApiImpl(android.content.Context context)
public android.location.Location getLastLocation()
getLastLocation in interface FusedLocationProviderApipublic void requestLocationUpdates(LocationRequest request, LocationListener listener)
requestLocationUpdates in interface FusedLocationProviderApipublic void requestLocationUpdates(LocationRequest request, LocationListener listener, android.os.Looper looper)
requestLocationUpdates in interface FusedLocationProviderApipublic void requestLocationUpdates(LocationRequest request, android.app.PendingIntent callbackIntent)
requestLocationUpdates in interface FusedLocationProviderApipublic void removeLocationUpdates(LocationListener listener)
removeLocationUpdates in interface FusedLocationProviderApipublic void removeLocationUpdates(android.app.PendingIntent callbackIntent)
removeLocationUpdates in interface FusedLocationProviderApipublic void setMockMode(boolean isMockMode)
setMockMode in interface FusedLocationProviderApipublic void setMockLocation(android.location.Location mockLocation)
setMockLocation in interface FusedLocationProviderApipublic void setMockTrace(File file)
setMockTrace in interface FusedLocationProviderApipublic void reportLocation(android.location.Location location)
reportLocation in interface LocationEngine.CallbackCopyright © 2015 Mapzen. All Rights Reserved.