com.supermap.plugin
Interface LocationChangedListener
-
public interface LocationChangedListener
The listener of changes in location is used to return the latest location information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
locationChanged(LocationManagePlugin.GPSData oldGps, LocationManagePlugin.GPSData newGps)
Position change callback position change callbackvoid
locationChanged(LocationManagePlugin.GPSData oldGps, LocationManagePlugin.GPSData newGps, boolean isGPSPointValid)
Position change callback position change callbackvoid
locationChanged(LocationManagePlugin.GPSData oldGps, LocationManagePlugin.GPSData newGps, boolean isGPSPointValid, java.util.List<LocationManagePlugin.Satellite> satelliteList)
Position change callback position change callback
-
-
-
Method Detail
-
locationChanged
void locationChanged(LocationManagePlugin.GPSData oldGps, LocationManagePlugin.GPSData newGps)
Position change callback position change callback- Parameters:
oldGps
- original location informationnewGps
- new location information
-
locationChanged
void locationChanged(LocationManagePlugin.GPSData oldGps, LocationManagePlugin.GPSData newGps, boolean isGPSPointValid)
Position change callback position change callback- Parameters:
oldGps
- original location informationnewGps
- new location informationisGPSPointValid
- Whether the GPS point information is valid
-
locationChanged
void locationChanged(LocationManagePlugin.GPSData oldGps, LocationManagePlugin.GPSData newGps, boolean isGPSPointValid, java.util.List<LocationManagePlugin.Satellite> satelliteList)
Position change callback position change callback- Parameters:
oldGps
- original location informationnewGps
- new location informationisGPSPointValid
- Whether the GPS point information is validsatelliteList
- satellite list, you can get satellite-related informationLocationManagePlugin.Satellite
-
-