@Deprecated
@DeprecatedSince(year=2019,
month=7)
public class LocationSourceFactory
extends java.lang.Object
| Constructor and Description |
|---|
LocationSourceFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
com.tomtom.online.sdk.location.LocationSource |
createDefaultLocationSource(android.content.Context context,
com.tomtom.online.sdk.location.LocationUpdateListener locationUpdateListener)
Deprecated.
Creates default location source.
|
com.tomtom.online.sdk.location.LocationSource |
createDefaultLocationSource(android.content.Context context,
com.tomtom.online.sdk.location.LocationUpdateListener locationUpdateListener,
com.google.android.gms.location.LocationRequest locationRequest)
Deprecated.
Creates default location source.
|
@NonNull
public com.tomtom.online.sdk.location.LocationSource createDefaultLocationSource(android.content.Context context,
com.tomtom.online.sdk.location.LocationUpdateListener locationUpdateListener)
context - - Android ContextlocationUpdateListener - - the location update listener which is common listener for both Basic and Fused location sources@NonNull
public com.tomtom.online.sdk.location.LocationSource createDefaultLocationSource(android.content.Context context,
com.tomtom.online.sdk.location.LocationUpdateListener locationUpdateListener,
com.google.android.gms.location.LocationRequest locationRequest)
context - - Android ContextlocationUpdateListener - - the location update listener which is common listener for both Basic and Fused location sourceslocationRequest - - LocationRequest of Google Location Services which is used if the GLS are present at the device.