public class LocationScannerImpl extends java.lang.Object implements LocationScanner, android.location.LocationListener
| Constructor and Description |
|---|
LocationScannerImpl(android.content.Context context,
LocationPackageRequestParams params) |
| Modifier and Type | Method and Description |
|---|---|
android.location.Location |
getLocation() |
void |
initAndCheckEligibility() |
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) |
public LocationScannerImpl(android.content.Context context,
LocationPackageRequestParams params)
public void initAndCheckEligibility()
throws ScannerException
initAndCheckEligibility in interface LocationScannerScannerExceptionpublic android.location.Location getLocation()
throws ScannerException
getLocation in interface LocationScannerScannerExceptionpublic 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