com.amazon.geo.mapsv2.LocationSource |
Class Overview
Interface for replacing the map's built in location provider. The map
activates this object when the "My Location" layer is enabled. While activated
(between calls to activate(OnLocationChangedListener)
and
deactivate()
), this object should provide location updates to be
displayed on the map. It is the responsibility of the provider to register
and unregister for location updates appropriately. See the Location Strategies API guide for details.
Public Methods
Activate this LocationSource
. After a call to activate, any location
updates sent to the listener are displayed on the map.
Parameters
listener |
The listener to update with new locations. |
public
abstract
void
deactivate
()