public class TokenUtils
extends java.lang.Object
| Constructor and Description |
|---|
TokenUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getMapboxAccessToken(Context context)
Returns the Mapbox access token set in the app resources.
|
public static java.lang.String getMapboxAccessToken(@NonNull
Context context)
Returns the Mapbox access token set in the app resources.
It will first search for a token in the Mapbox object. If not found it will then attempt to load the access token from theres/values/dev.xml development file.context - The Context of the Activity or android.app.Fragment.