sdk-common / com.tomtom.online.sdk.location / BasicLocationSource / <init>

<init>

BasicLocationSource(context: Context!)

Default constructor to create a basic location source. This constructor uses a default LocationRequest in which minimal time between location updates is set to 5s.

BasicLocationSource(context: Context!, locationRequest: LocationRequest!)

Constructor that allows to provide a custom LocationRequest that will be used with available providers.