Skip navigation links
Mapbox Android Services SDK 2.1.0 Reference
A B C D E F G H I K L M N O P R S T W 

A

activate() - Method in class com.mapbox.services.android.telemetry.location.AndroidLocationEngine
 
activate() - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
Activate the location engine which will connect whichever location provider you are using.
addConnectivityListener(ConnectivityListener) - Method in class com.mapbox.services.android.telemetry.connectivity.ConnectivityReceiver
 
addLocationEngineListener(LocationEngineListener) - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
Useful when you'd like to add a location listener to handle location connections and update events.
addLocationEvent(Location) - Method in class com.mapbox.services.android.telemetry.MapboxTelemetry
Adds a Location Event to the system for processing
addTelemetryListener(TelemetryListener) - Method in class com.mapbox.services.android.telemetry.MapboxTelemetry
 
AndroidLocationEngine - Class in com.mapbox.services.android.telemetry.location
A location engine that uses core android.location and has no external dependencies https://developer.android.com/guide/topics/location/strategies.html
AndroidLocationEngine(Context) - Constructor for class com.mapbox.services.android.telemetry.location.AndroidLocationEngine
 
areLocationPermissionsGranted(Context) - Static method in class com.mapbox.services.android.telemetry.permissions.PermissionsManager
 

B

BALANCED_POWER_ACCURACY - Static variable in class com.mapbox.services.android.telemetry.location.LocationEnginePriority
 
buildLocation(double, double) - Static method in class com.mapbox.services.android.telemetry.utils.TelemetryUtils
 
buildMapClickEvent(Location, String, double) - Static method in class com.mapbox.services.android.telemetry.MapboxEvent
Helper method for tracking gesture events
buildMapDragEndEvent(Location, double) - Static method in class com.mapbox.services.android.telemetry.MapboxEvent
Helper method for tracking DragEnd gesture event
buildMapLoadEvent() - Static method in class com.mapbox.services.android.telemetry.MapboxEvent
Helper method for tracking map load event

C

clamp(double, double, double) - Static method in class com.mapbox.services.android.telemetry.utils.MathUtils
Test a value in specified range, returning minimum if it's below, and maximum if it's above
clamp(float, float, float) - Static method in class com.mapbox.services.android.telemetry.utils.MathUtils
Test a value in specified range, returning minimum if it's below, and maximum if it's above
COARSE_LOCATION_PERMISSION - Static variable in class com.mapbox.services.android.telemetry.permissions.PermissionsManager
 
com.mapbox.services.android.telemetry - package com.mapbox.services.android.telemetry
 
com.mapbox.services.android.telemetry.backoff - package com.mapbox.services.android.telemetry.backoff
 
com.mapbox.services.android.telemetry.connectivity - package com.mapbox.services.android.telemetry.connectivity
 
com.mapbox.services.android.telemetry.constants - package com.mapbox.services.android.telemetry.constants
 
com.mapbox.services.android.telemetry.http - package com.mapbox.services.android.telemetry.http
 
com.mapbox.services.android.telemetry.location - package com.mapbox.services.android.telemetry.location
 
com.mapbox.services.android.telemetry.permissions - package com.mapbox.services.android.telemetry.permissions
 
com.mapbox.services.android.telemetry.service - package com.mapbox.services.android.telemetry.service
 
com.mapbox.services.android.telemetry.utils - package com.mapbox.services.android.telemetry.utils
 
ConnectivityListener - Interface in com.mapbox.services.android.telemetry.connectivity
Callback to use with the ConnectivityReceiver
ConnectivityReceiver - Class in com.mapbox.services.android.telemetry.connectivity
ConnectivityReceiver is a BroadcastReceiver that helps you keep track of the connectivity status.
ConnectivityReceiver(Context) - Constructor for class com.mapbox.services.android.telemetry.connectivity.ConnectivityReceiver
ConnectivityReceiver constructor
convertNativeBearing(double) - Static method in class com.mapbox.services.android.telemetry.utils.MathUtils
Convert bearing from core to match Android SDK value.

D

deactivate() - Method in class com.mapbox.services.android.telemetry.location.AndroidLocationEngine
 
deactivate() - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
Disconnect the location engine, useful when you no longer need location updates or requesting the users LocationEngine.getLastLocation().
DEFAULT_INITIAL_INTERVAL_MILLIS - Static variable in class com.mapbox.services.android.telemetry.backoff.ExponentialBackoff
The default initial interval value in milliseconds (10 seconds).
DEFAULT_LOCALE - Static variable in class com.mapbox.services.android.telemetry.constants.TelemetryConstants
 
DEFAULT_MAX_INTERVAL_MILLIS - Static variable in class com.mapbox.services.android.telemetry.backoff.ExponentialBackoff
The default maximum back off time in milliseconds (10 minutes).
DEFAULT_MULTIPLIER - Static variable in class com.mapbox.services.android.telemetry.backoff.ExponentialBackoff
The default multiplier value (2.0 which is 100% increase per back off).
differenceBetweenAngles(double, double) - Static method in class com.mapbox.services.android.telemetry.utils.MathUtils
Returns the smallest angle between two angles.

E

ExponentialBackoff - Class in com.mapbox.services.android.telemetry.backoff
Simplified version of Google HTTP Client Library for Java's ExponentialBackOff.
ExponentialBackoff() - Constructor for class com.mapbox.services.android.telemetry.backoff.ExponentialBackoff
 

F

fastestInterval - Variable in class com.mapbox.services.android.telemetry.location.LocationEngine
 
FINE_LOCATION_PERMISSION - Static variable in class com.mapbox.services.android.telemetry.permissions.PermissionsManager
 
FLUSH_DELAY_MS - Static variable in class com.mapbox.services.android.telemetry.constants.TelemetryConstants
 
FLUSH_EVENTS_CAP - Static variable in class com.mapbox.services.android.telemetry.constants.TelemetryConstants
 
FLUSH_PERIOD_MS - Static variable in class com.mapbox.services.android.telemetry.constants.TelemetryConstants
 

G

generateCreateDate() - Static method in class com.mapbox.services.android.telemetry.utils.TelemetryUtils
 
GeoConstants - Class in com.mapbox.services.android.telemetry.constants
GeoConstants exposes constants for doing locational calculations on Earth
GeoConstants() - Constructor for class com.mapbox.services.android.telemetry.constants.GeoConstants
 
GESTURE_DOUBLETAP - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
GESTURE_PAN_START - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
GESTURE_PINCH_START - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
GESTURE_PITCH_START - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
GESTURE_QUICK_ZOOM - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
GESTURE_ROTATION_START - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
GESTURE_SINGLETAP - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
GESTURE_TWO_FINGER_SINGLETAP - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
getAccesibilityFontScaleSize(Context) - Static method in class com.mapbox.services.android.telemetry.utils.TelemetryUtils
 
getAccessToken() - Method in class com.mapbox.services.android.telemetry.http.TelemetryClient
 
getApplicationIdentifier(Context) - Static method in class com.mapbox.services.android.telemetry.utils.TelemetryUtils
 
getApplicationState(Context) - Static method in class com.mapbox.services.android.telemetry.utils.TelemetryUtils
 
getCellularCarrier(Context) - Static method in class com.mapbox.services.android.telemetry.utils.TelemetryUtils
 
getCellularNetworkType(Context) - Static method in class com.mapbox.services.android.telemetry.utils.TelemetryUtils
 
getConnectedFlag() - Method in class com.mapbox.services.android.telemetry.connectivity.ConnectivityReceiver
Get the connectedFlag value
getConnectedToWifi(Context) - Static method in class com.mapbox.services.android.telemetry.utils.TelemetryUtils
Check whether we're connected to wifi.
getCurrentIntervalMillis() - Method in class com.mapbox.services.android.telemetry.backoff.ExponentialBackoff
Returns the current retry interval in milliseconds.
getElapsedTimeMillis() - Method in class com.mapbox.services.android.telemetry.backoff.ExponentialBackoff
Returns the elapsed time in milliseconds since an ExponentialBackoff instance is created and is reset when ExponentialBackoff.reset() is called.
getEventsEndpoint() - Method in class com.mapbox.services.android.telemetry.http.TelemetryClient
 
getFastestInterval() - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
Get the current fastest interval being used to receive location updates.
getInitialIntervalMillis() - Method in class com.mapbox.services.android.telemetry.backoff.ExponentialBackoff
Returns the initial retry interval in milliseconds.
getInstance() - Static method in class com.mapbox.services.android.telemetry.MapboxTelemetry
Primary access method (using singleton pattern)
getInterval() - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
Get the current interval being used to receive location updates.
getLastLocation() - Method in class com.mapbox.services.android.telemetry.location.AndroidLocationEngine
 
getLastLocation() - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
When first initializing the location engine the location updates oftentimes aren't immediate and your user experience might diminish since they are forced to wait till a more accurate update arrives.
getListener() - Method in class com.mapbox.services.android.telemetry.permissions.PermissionsManager
 
getLocationEngine(Context) - Static method in class com.mapbox.services.android.telemetry.location.AndroidLocationEngine
 
getMaxIntervalMillis() - Method in class com.mapbox.services.android.telemetry.backoff.ExponentialBackoff
Returns the maximum value of the back off period in milliseconds.
getMultiplier() - Method in class com.mapbox.services.android.telemetry.backoff.ExponentialBackoff
Returns the value to multiply the current interval with for each retry attempt.
getOrientation(Context) - Static method in class com.mapbox.services.android.telemetry.utils.TelemetryUtils
 
getPriority() - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
Get the current priority being used.
getSharedPreferences(Context) - Static method in class com.mapbox.services.android.telemetry.utils.TelemetryUtils
 
getSmallestDisplacement() - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
Get the current smallest displacement being used to receive location updates.
getUserAgent() - Method in class com.mapbox.services.android.telemetry.http.TelemetryClient
 
GzipRequestInterceptor - Class in com.mapbox.services.android.telemetry.http
OkHttp interceptor for gzipping telemetry data requests to the server.
GzipRequestInterceptor() - Constructor for class com.mapbox.services.android.telemetry.http.GzipRequestInterceptor
 

H

HIGH_ACCURACY - Static variable in class com.mapbox.services.android.telemetry.location.LocationEnginePriority
 

I

initialize(Context, String, String, LocationEngine) - Method in class com.mapbox.services.android.telemetry.MapboxTelemetry
Initialize MapboxTelemetry.
initialize(Context, String, String) - Method in class com.mapbox.services.android.telemetry.MapboxTelemetry
Initialize MapboxTelemetry.
INTENT_STRING - Static variable in class com.mapbox.services.android.telemetry.TelemetryLocationReceiver
 
intercept(Interceptor.Chain) - Method in class com.mapbox.services.android.telemetry.http.GzipRequestInterceptor
 
interval - Variable in class com.mapbox.services.android.telemetry.location.LocationEngine
 
isBetterLocation(Location, Location) - Static method in class com.mapbox.services.android.telemetry.location.LocationEngine
Determines whether one Location reading is better than the current Location fix.
isCoarseLocationPermissionGranted(Context) - Static method in class com.mapbox.services.android.telemetry.permissions.PermissionsManager
 
isConnected(Context) - Static method in class com.mapbox.services.android.telemetry.connectivity.ConnectivityReceiver
Get the connectivity state as reported by the Android system
isConnected() - Method in class com.mapbox.services.android.telemetry.connectivity.ConnectivityReceiver
Get the connectivity state.
isConnected() - Method in class com.mapbox.services.android.telemetry.location.AndroidLocationEngine
 
isConnected() - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
Check if your location provider has been activated/connected.
isFineLocationPermissionGranted(Context) - Static method in class com.mapbox.services.android.telemetry.permissions.PermissionsManager
 
isPermissionGranted(Context, String) - Static method in class com.mapbox.services.android.telemetry.permissions.PermissionsManager
 
isStagingEnvironment() - Method in class com.mapbox.services.android.telemetry.http.TelemetryClient
 
isTelemetryEnabled() - Method in class com.mapbox.services.android.telemetry.MapboxTelemetry
 

K

KEY_ACCESSIBILITY_FONT_SCALE - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_ALTITUDE - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_APPLICATION_STATE - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_BATTERY_LEVEL - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_CARRIER - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_CELLULAR_NETWORK_TYPE - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_CREATED - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_ENABLED_TELEMETRY - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_EVENT - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_GESTURE_ID - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_HORIZONTAL_ACCURACY - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_LATITUDE - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_LONGITUDE - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_META_DATA_STAGING_ACCESS_TOKEN - Static variable in class com.mapbox.services.android.telemetry.constants.TelemetryConstants
Key used to store staging data server access token in AndroidManifest.xml
KEY_META_DATA_STAGING_SERVER - Static variable in class com.mapbox.services.android.telemetry.constants.TelemetryConstants
Key used to store staging data server url in AndroidManifest.xml
KEY_MODEL - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_OPERATING_SYSTEM - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_ORIENTATION - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_PLUGGED_IN - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_RESOLUTION - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_SESSION_ID - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_SOURCE - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_USER_ID - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_WIFI - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
KEY_ZOOM - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 

L

LocationEngine - Class in com.mapbox.services.android.telemetry.location
Abstract implementation of a location engine.
LocationEngine() - Constructor for class com.mapbox.services.android.telemetry.location.LocationEngine
Construct a location engine.
LocationEngineListener - Interface in com.mapbox.services.android.telemetry.location
Callback used in LocationEngine
LocationEnginePriority - Class in com.mapbox.services.android.telemetry.location
Same priorities GMS and Lost support: https://developers.google.com/android/reference/com/google/android/gms/location/LocationRequest https://github.com/mapzen/lost/blob/master/lost/src/main/java/com/mapzen/android/lost/api/LocationRequest.java
LocationEnginePriority() - Constructor for class com.mapbox.services.android.telemetry.location.LocationEnginePriority
 
locationListeners - Variable in class com.mapbox.services.android.telemetry.location.LocationEngine
 
LOW_POWER - Static variable in class com.mapbox.services.android.telemetry.location.LocationEnginePriority
 

M

MAPBOX_EVENTS_BASE_URL - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
MAPBOX_SHARED_PREFERENCE_KEY_TELEMETRY_ENABLED - Static variable in class com.mapbox.services.android.telemetry.constants.TelemetryConstants
 
MAPBOX_SHARED_PREFERENCE_KEY_TELEMETRY_STAGING_ACCESS_TOKEN - Static variable in class com.mapbox.services.android.telemetry.constants.TelemetryConstants
 
MAPBOX_SHARED_PREFERENCE_KEY_TELEMETRY_STAGING_URL - Static variable in class com.mapbox.services.android.telemetry.constants.TelemetryConstants
 
MAPBOX_SHARED_PREFERENCE_KEY_VENDOR_ID - Static variable in class com.mapbox.services.android.telemetry.constants.TelemetryConstants
 
MAPBOX_SHARED_PREFERENCES_FILE - Static variable in class com.mapbox.services.android.telemetry.constants.TelemetryConstants
 
MapboxEvent - Class in com.mapbox.services.android.telemetry
Constants and event builders
MapboxEvent() - Constructor for class com.mapbox.services.android.telemetry.MapboxEvent
 
MapboxTelemetry - Class in com.mapbox.services.android.telemetry
This is the entry point to manage Mapbox telemetry
MathUtils - Class in com.mapbox.services.android.telemetry.utils
 
MathUtils() - Constructor for class com.mapbox.services.android.telemetry.utils.MathUtils
 
MAX_LATITUDE - Static variable in class com.mapbox.services.android.telemetry.constants.GeoConstants
The maximum latitude on Earth.
MAX_LONGITUDE - Static variable in class com.mapbox.services.android.telemetry.constants.GeoConstants
The maximum longitude on Earth
MIN_LATITUDE - Static variable in class com.mapbox.services.android.telemetry.constants.GeoConstants
The minimum latitude on Earth.
MIN_LONGITUDE - Static variable in class com.mapbox.services.android.telemetry.constants.GeoConstants
The minimum longitude on Earth

N

nextBackOffMillis() - Method in class com.mapbox.services.android.telemetry.backoff.ExponentialBackoff
Get the next back off interval
NO_POWER - Static variable in class com.mapbox.services.android.telemetry.location.LocationEnginePriority
 

O

onBind(Intent) - Method in class com.mapbox.services.android.telemetry.service.TelemetryService
Return the communication channel to the service.
onConnected() - Method in interface com.mapbox.services.android.telemetry.location.LocationEngineListener
 
onConnected() - Method in class com.mapbox.services.android.telemetry.MapboxTelemetry
 
onConnectivityChanged(boolean) - Method in interface com.mapbox.services.android.telemetry.connectivity.ConnectivityListener
 
onCreate() - Method in class com.mapbox.services.android.telemetry.service.TelemetryService
Called by the system when the service is first created.
onDestroy() - Method in class com.mapbox.services.android.telemetry.service.TelemetryService
Called by the system to notify a Service that it is no longer used and is being removed.
onExplanationNeeded(List<String>) - Method in interface com.mapbox.services.android.telemetry.permissions.PermissionsListener
 
onFailure(Call, IOException) - Method in class com.mapbox.services.android.telemetry.MapboxTelemetry
Called when the request could not be executed due to cancellation, a connectivity problem or timeout.
onHttpFailure(String) - Method in interface com.mapbox.services.android.telemetry.TelemetryListener
Invoked when the HTTP request fails.
onHttpResponse(boolean, int) - Method in interface com.mapbox.services.android.telemetry.TelemetryListener
Invoked when we obtain a HTTP response.
onLocationChanged(Location) - Method in class com.mapbox.services.android.telemetry.location.AndroidLocationEngine
Called when the location has changed.
onLocationChanged(Location) - Method in interface com.mapbox.services.android.telemetry.location.LocationEngineListener
 
onLocationChanged(Location) - Method in class com.mapbox.services.android.telemetry.MapboxTelemetry
 
onPermissionResult(boolean) - Method in interface com.mapbox.services.android.telemetry.permissions.PermissionsListener
 
onProviderDisabled(String) - Method in class com.mapbox.services.android.telemetry.location.AndroidLocationEngine
Called when the provider is disabled by the user.
onProviderEnabled(String) - Method in class com.mapbox.services.android.telemetry.location.AndroidLocationEngine
Called when the provider is enabled by the user.
onReceive(Context, Intent) - Method in class com.mapbox.services.android.telemetry.connectivity.ConnectivityReceiver
 
onReceive(Context, Intent) - Method in class com.mapbox.services.android.telemetry.TelemetryLocationReceiver
 
onRequestPermissionsResult(int, String[], int[]) - Method in class com.mapbox.services.android.telemetry.permissions.PermissionsManager
You should call this method from your activity onRequestPermissionsResult.
onResponse(Call, Response) - Method in class com.mapbox.services.android.telemetry.MapboxTelemetry
Called when the HTTP response was successfully returned by the remote server.
onSendEvents(int) - Method in interface com.mapbox.services.android.telemetry.TelemetryListener
Invoked when sending a new batch of events.
onStartCommand(Intent, int, int) - Method in class com.mapbox.services.android.telemetry.service.TelemetryService
Called by the system every time a client explicitly starts the service by calling startService(Intent), providing the arguments it supplied and a unique integer token representing the start request.
onStatusChanged(String, int, Bundle) - Method in class com.mapbox.services.android.telemetry.location.AndroidLocationEngine
Called when the provider status changes.
onTaskRemoved(Intent) - Method in class com.mapbox.services.android.telemetry.service.TelemetryService
This is called if the service is currently running and the user has removed a task that comes from the service's application (swiping left/right the tasks list).
OPERATING_SYSTEM - Static variable in class com.mapbox.services.android.telemetry.constants.TelemetryConstants
 

P

PermissionsListener - Interface in com.mapbox.services.android.telemetry.permissions
Callback used in PermissionsManager
PermissionsManager - Class in com.mapbox.services.android.telemetry.permissions
Helps request permissions at runtime.
PermissionsManager(PermissionsListener) - Constructor for class com.mapbox.services.android.telemetry.permissions.PermissionsManager
 
priority - Variable in class com.mapbox.services.android.telemetry.location.LocationEngine
 
pushEvent(Hashtable<String, Object>) - Method in class com.mapbox.services.android.telemetry.MapboxTelemetry
Push interactive events to the system for processing

R

RADIUS_EARTH_METERS - Static variable in class com.mapbox.services.android.telemetry.constants.GeoConstants
The equatorial radius value in meters
removeConnectivityListener(ConnectivityListener) - Method in class com.mapbox.services.android.telemetry.connectivity.ConnectivityReceiver
 
removeConnectivityUpdates() - Method in class com.mapbox.services.android.telemetry.connectivity.ConnectivityReceiver
 
removeLocationEngineListener(LocationEngineListener) - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
If you no longer need your LocationEngineListener to be invoked with every location update, use this method to remove it.
removeLocationUpdates() - Method in class com.mapbox.services.android.telemetry.location.AndroidLocationEngine
 
removeLocationUpdates() - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
When you no longer wish to receive location updates, you should call this method to prevent the devices battery from draining.
removeTelemetryListener(TelemetryListener) - Method in class com.mapbox.services.android.telemetry.MapboxTelemetry
 
requestConnectivityUpdates() - Method in class com.mapbox.services.android.telemetry.connectivity.ConnectivityReceiver
 
requestLocationPermissions(Activity) - Method in class com.mapbox.services.android.telemetry.permissions.PermissionsManager
 
requestLocationPermissions(Activity, boolean) - Method in class com.mapbox.services.android.telemetry.permissions.PermissionsManager
 
requestLocationUpdates() - Method in class com.mapbox.services.android.telemetry.location.AndroidLocationEngine
 
requestLocationUpdates() - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
if a LocationEngineListener is setup, registering for location updates will tell the provider to begin sending updates.
requestPermissions(Activity, String[]) - Method in class com.mapbox.services.android.telemetry.permissions.PermissionsManager
 
reset() - Method in class com.mapbox.services.android.telemetry.backoff.ExponentialBackoff
Sets the interval back to the initial retry interval and restarts the timer.

S

sendEvents(Vector<Hashtable<String, Object>>, Callback) - Method in class com.mapbox.services.android.telemetry.http.TelemetryClient
 
SESSION_ID_ROTATION_MS - Static variable in class com.mapbox.services.android.telemetry.constants.TelemetryConstants
 
setAccessToken(String) - Method in class com.mapbox.services.android.telemetry.http.TelemetryClient
 
setConnectedFlag(Boolean) - Method in class com.mapbox.services.android.telemetry.connectivity.ConnectivityReceiver
Set the connectedFlag value
setEventsEndpoint(String) - Method in class com.mapbox.services.android.telemetry.http.TelemetryClient
 
setFastestInterval(int) - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
Set the fastest rate in milliseconds at which your application can handle location updates.
setInterval(int) - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
Set the rate in milliseconds at which your app prefers to receive location updates.
setListener(PermissionsListener) - Method in class com.mapbox.services.android.telemetry.permissions.PermissionsManager
 
setPriority(int) - Method in class com.mapbox.services.android.telemetry.location.AndroidLocationEngine
 
setPriority(int) - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
This method sets the priority of the request, providing this will help the location provide know which location sources to use.
setSmallestDisplacement(float) - Method in class com.mapbox.services.android.telemetry.location.LocationEngine
Set the smallest distance value in meters at which the user must move before a new location update comes in.
setStagingEnvironment(boolean) - Method in class com.mapbox.services.android.telemetry.http.TelemetryClient
 
setTelemetryEnabled(boolean) - Method in class com.mapbox.services.android.telemetry.MapboxTelemetry
Enables / disables telemetry
setUserAgent(String) - Method in class com.mapbox.services.android.telemetry.http.TelemetryClient
 
smallestDisplacement - Variable in class com.mapbox.services.android.telemetry.location.LocationEngine
 
SOURCE_MAPBOX - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 

T

TELEMETRY_SERVICE_NAME - Static variable in class com.mapbox.services.android.telemetry.constants.TelemetryConstants
 
TelemetryClient - Class in com.mapbox.services.android.telemetry.http
HTTP client to Mapbox telemetry
TelemetryClient(String) - Constructor for class com.mapbox.services.android.telemetry.http.TelemetryClient
 
TelemetryConstants - Class in com.mapbox.services.android.telemetry.constants
Created by antonio on 1/18/17.
TelemetryConstants() - Constructor for class com.mapbox.services.android.telemetry.constants.TelemetryConstants
 
TelemetryException - Exception in com.mapbox.services.android.telemetry
A TelemetryException is thrown by when MapboxTelemetry checks and finds that telemetry has not been properly configured.
TelemetryException(String) - Constructor for exception com.mapbox.services.android.telemetry.TelemetryException
 
TelemetryListener - Interface in com.mapbox.services.android.telemetry
A callback for Telemetry events
telemetryListeners - Variable in class com.mapbox.services.android.telemetry.MapboxTelemetry
 
TelemetryLocationReceiver - Class in com.mapbox.services.android.telemetry
The TelemetryService will register for updates sent to this TelemetryLocationReceiver.
TelemetryLocationReceiver() - Constructor for class com.mapbox.services.android.telemetry.TelemetryLocationReceiver
 
TelemetryService - Class in com.mapbox.services.android.telemetry.service
Android telemetry Service
TelemetryService() - Constructor for class com.mapbox.services.android.telemetry.service.TelemetryService
 
TelemetryUtils - Class in com.mapbox.services.android.telemetry.utils
Static utilities to complete the event data.
TelemetryUtils() - Constructor for class com.mapbox.services.android.telemetry.utils.TelemetryUtils
 
TYPE_LOCATION - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
TYPE_MAP_CLICK - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
TYPE_MAP_DRAG_END - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
TYPE_MAP_LOAD - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 
TYPE_TURNSTILE - Static variable in class com.mapbox.services.android.telemetry.MapboxEvent
 

W

wrap(double, double, double) - Static method in class com.mapbox.services.android.telemetry.utils.MathUtils
Constrains value to the given range (including min, excluding max) via modular arithmetic.
A B C D E F G H I K L M N O P R S T W 
Skip navigation links
Mapbox Android Services SDK 2.1.0 Reference

© 2015–2016 Mapbox. All rights reserved.