locationProvider

fun locationProvider(locationProvider: LocationProvider): SearchEngineSettings.Builder

The mechanism responsible for providing location approximations to the SDK. By default LocationProvider is provided by LocationServiceFactory. Note that this class requires Manifest.permission.ACCESS_COARSE_LOCATION or Manifest.permission.ACCESS_FINE_LOCATION to work properly.