public final class LocationEngineProvider
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static LocationEngine |
getBestLocationEngine(Context context)
Returns instance to the best location engine, given the included libraries.
|
static LocationEngine |
getBestLocationEngine(Context context,
boolean background)
Deprecated.
|
@Deprecated public static LocationEngine getBestLocationEngine(Context context, boolean background)
context
- Context
.background
- true if background optimized engine is desired (note: parameter deprecated)LocationEngine
every time method is called.public static LocationEngine getBestLocationEngine(Context context)
context
- Context
.LocationEngine
every time method is called.© 2017–2018 Mapbox. All rights reserved.