Skip navigation links
A C D F G I L M O R S 

A

activate() - Method in class com.mapbox.services.android.location.LostLocationEngine
Activate the location engine which will connect whichever location provider you are using.
activate() - Method in class com.mapbox.services.android.location.MockLocationEngine
Connect all the location listeners.
AndroidGeocoder - Class in com.mapbox.services.android.geocoder
Class is used for geocoding and reverse geocoding.
AndroidGeocoder(Context, Locale) - Constructor for class com.mapbox.services.android.geocoder.AndroidGeocoder
Constructs a Geocoder whose responses will be localized for the given Locale.
AndroidGeocoder(Context) - Constructor for class com.mapbox.services.android.geocoder.AndroidGeocoder
Constructs a Geocoder whose responses will be localized for the default system Locale.

C

com.mapbox.services.android - package com.mapbox.services.android
Contains the Mapbox Android Services classes.
com.mapbox.services.android.geocoder - package com.mapbox.services.android.geocoder
Contains the Mapbox Android Services classes.
com.mapbox.services.android.location - package com.mapbox.services.android.location
 
Constants - Class in com.mapbox.services.android
Namespace to avoid constants collision.
Constants() - Constructor for class com.mapbox.services.android.Constants
 

D

deactivate() - Method in class com.mapbox.services.android.location.LostLocationEngine
Disconnect the location engine which is useful when you no longer need location updates or requesting the users LocationEngine.getLastLocation().
deactivate() - Method in class com.mapbox.services.android.location.MockLocationEngine
Stops mocking the user location along the route.

F

featureToAddress(CarmenFeature, Locale) - Static method in class com.mapbox.services.android.geocoder.GeocoderUtils
Used to convert from FeatureModel to an Address.

G

GeocoderUtils - Class in com.mapbox.services.android.geocoder
Android Geocoder utils class used for the AndroidGeocoder.
GeocoderUtils() - Constructor for class com.mapbox.services.android.geocoder.GeocoderUtils
 
getDelay() - Method in class com.mapbox.services.android.location.MockLocationEngine
 
getFromLocation(double, double, int) - Method in class com.mapbox.services.android.geocoder.AndroidGeocoder
Returns an array of Addresses that are known to describe the area immediately surrounding the given latitude and longitude.
getFromLocationName(String, int) - Method in class com.mapbox.services.android.geocoder.AndroidGeocoder
Returns an array of Addresses that are known to describe the named location, which may be a place name such as "Dalvik, Iceland", an address such as "1600 Amphitheatre Parkway, Mountain View, CA", an airport code such as "SFO", etc..
getFromLocationName(String, int, double, double, double, double) - Method in class com.mapbox.services.android.geocoder.AndroidGeocoder
Returns an array of Addresses that are known to describe the named location, which may be a place name such as "Dalvik, Iceland", an address such as "1600 Amphitheatre Parkway, Mountain View, CA", an airport code such as "SFO", etc..
getLastLocation() - Method in class com.mapbox.services.android.location.LostLocationEngine
Returns the Last known location if the location provider is connected and location permissions are granted.
getLastLocation() - Method in class com.mapbox.services.android.location.MockLocationEngine
If the lastLocation is not null, this method will return the last location as expected.
getLocationEngine(Context) - Static method in class com.mapbox.services.android.location.LostLocationEngine
 
getSpeed() - Method in class com.mapbox.services.android.location.MockLocationEngine
 

I

isConnected() - Method in class com.mapbox.services.android.location.LostLocationEngine
Check if your location provider has been activated/connected.
isConnected() - Method in class com.mapbox.services.android.location.MockLocationEngine
While the MockLocationEngine is in use, you are always connected to it.
isNoisyGps() - Method in class com.mapbox.services.android.location.MockLocationEngine
 
isPresent() - Static method in class com.mapbox.services.android.geocoder.AndroidGeocoder
Returns true if the Geocoder methods getFromLocation and getFromLocationName are implemented.

L

LostLocationEngine - Class in com.mapbox.services.android.location
Sample LocationEngine using the Open Source Lost library
LostLocationEngine(Context) - Constructor for class com.mapbox.services.android.location.LostLocationEngine
 

M

MockLocationEngine - Class in com.mapbox.services.android.location
Allows for mocking user location along a route.
MockLocationEngine() - Constructor for class com.mapbox.services.android.location.MockLocationEngine
Create a MockLocationEngine instance using the default parameters.
MockLocationEngine(int, int, boolean) - Constructor for class com.mapbox.services.android.location.MockLocationEngine
Create a MockLocationEngine instance with custom parameters.
moveToLocation(Position) - Method in class com.mapbox.services.android.location.MockLocationEngine
 

O

obtainType() - Method in class com.mapbox.services.android.location.LostLocationEngine
 
obtainType() - Method in class com.mapbox.services.android.location.MockLocationEngine
 
onConnected() - Method in class com.mapbox.services.android.location.LostLocationEngine
Invoked when the location provider has connected.
onConnectionSuspended() - Method in class com.mapbox.services.android.location.LostLocationEngine
Invoked when the location provider connection has been suspended.
onLocationChanged(Location) - Method in class com.mapbox.services.android.location.LostLocationEngine
Invoked when the Location has changed.

R

removeLocationUpdates() - Method in class com.mapbox.services.android.location.LostLocationEngine
Dismiss ongoing location update to the location provider.
removeLocationUpdates() - Method in class com.mapbox.services.android.location.MockLocationEngine
Removes location updates for the LocationListener.
requestLocationUpdates() - Method in class com.mapbox.services.android.location.LostLocationEngine
Request location updates to the location provider.
requestLocationUpdates() - Method in class com.mapbox.services.android.location.MockLocationEngine
Nothing needs to happen here since we are mocking the user location along a route.

S

setAccessToken(String) - Method in class com.mapbox.services.android.geocoder.AndroidGeocoder
You'll need to have a Mapbox access token to use the geocoding API within MAS.
setLastLocation(Position) - Method in class com.mapbox.services.android.location.MockLocationEngine
 
setRoute(DirectionsRoute) - Method in class com.mapbox.services.android.location.MockLocationEngine
Use this method to pass in a route and start the mocking immediately.
STEP_MANEUVER_TYPE_ARRIVE - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_CONTINUE - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_DEPART - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_END_OF_ROAD - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_EXIT_ROTARY - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_EXIT_ROUNDABOUT - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_FORK - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_MERGE - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_NEW_NAME - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_NOTIFICATION - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_OFF_RAMP - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_ON_RAMP - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_ROTARY - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_ROUNDABOUT - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_ROUNDABOUT_TURN - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_TURN - Static variable in class com.mapbox.services.android.Constants
 
STEP_MANEUVER_TYPE_USE_LANE - Static variable in class com.mapbox.services.android.Constants
 
A C D F G I L M O R S 
Skip navigation links