public class LocationsManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LocationsManager.DeleteLocationOptions
Contains options to delete locations.
|
static class |
LocationsManager.GetLearnedLocationsOptions
Contains options to retrieve
LearnedLocations. |
static class |
LocationsManager.GetLocationsOptions
Contains options to get locations.
|
static interface |
LocationsManager.IDeleteSavedLocationResponseListener
Response listener for deleting locations.
|
static interface |
LocationsManager.IGetLearnedLocationsListener
|
static interface |
LocationsManager.IGetSavedLocationsResponseListener
Response listener for retrieving locations.
|
static interface |
LocationsManager.ISaveLocationResponseListener
Response listener for saving locations.
|
static interface |
LocationsManager.IUpdateLearnedLocationsListener
|
static interface |
LocationsManager.IUpdateSavedLocationsOrderListener
Response listener for the locations order.
|
static class |
LocationsManager.LocationsManagerException
An exception that is thrown when there is an error with an
LocationsManager operation. |
static class |
LocationsManager.SaveLocationOptions
Contains options to save locations.
|
static class |
LocationsManager.UpdateLearnedLocationsOptions
Contains options to update
LearnedLocations. |
static class |
LocationsManager.UpdateLocationsOrderOptions
Contains options that specify how to update the order of locations in a list.
|
public boolean showPlaces(float zoom)
zoom - Target zoom level.public LocationsManagerConfig getConfiguration()
LocationsManager configuration.LocationsManagerConfig.public ICancellable getSavedLocations(LocationsManager.GetLocationsOptions reserved, LocationsManager.IGetSavedLocationsResponseListener listener)
reserved - Request options. Must be null. Reserved for a future use.listener - The listener that will receive the response.ICancellable so that the request can be cancelled.LocationsManager.LocationsManagerException - when listener is nullpublic ICancellable saveLocation(LocationsManager.SaveLocationOptions options, LocationsManager.ISaveLocationResponseListener listener)
SavedLocation. This method should be used to both create and update SavedLocation.options - The options that contain the SavedLocation information.listener - The listener that will receive the response containing the new SavedLocation.ICancellable so that the request can be cancelled.LocationsManager.LocationsManagerException - when either options or listener is null.public ICancellable deleteLocation(LocationsManager.DeleteLocationOptions options, LocationsManager.IDeleteSavedLocationResponseListener listener)
SavedLocation.
Note: concurrent deletes (even if they are for different SavedLocation objects may fail.options - The options that contain the information on the location to delete.listener - The listener that will receive the response.ICancellable so that the request can be cancelled.LocationsManager.LocationsManagerException - when either options or listener is null.public ICancellable updateOrder(LocationsManager.UpdateLocationsOrderOptions options, LocationsManager.IUpdateSavedLocationsOrderListener listener)
SavedLocation in the list of the SavedLocation.options - The options that contain the information how to order the SavedLocation.listener - The listener that will receive the response.ICancellable so that the request can be cancelled.LocationsManager.LocationsManagerException - when either options or listener is null.public ICancellable getLearnedLocations(LocationsManager.GetLearnedLocationsOptions options, LocationsManager.IGetLearnedLocationsListener listener)
LearnedLocations.options - Request options.listener - Response listener instance.ICancellable to cancel the request in progress.public ICancellable updateLearnedLocations(LocationsManager.UpdateLearnedLocationsOptions options, LocationsManager.IUpdateLearnedLocationsListener listener)
LearnedLocations.options - Request options.listener - Response listener instance.ICancellable to cancel the request in progress.Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.