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