SeonGeolocationConfig constructor

SeonGeolocationConfig({
  1. int locationServiceTimeoutMs = kDefaultLocationServiceTimeoutMs,
  2. int maxLocationCacheAgeSec = kDefaultMaxLocationCacheAgeSec,
  3. bool prefetchEnabled = kDefaultPrefetchEnabled,
  4. bool geolocationEnabled = kDefaultGeolocationEnabled,
})

Implementation

SeonGeolocationConfig({
  int locationServiceTimeoutMs = kDefaultLocationServiceTimeoutMs,
  int maxLocationCacheAgeSec = kDefaultMaxLocationCacheAgeSec,
  bool prefetchEnabled = kDefaultPrefetchEnabled,
  bool geolocationEnabled = kDefaultGeolocationEnabled,
})  : _locationServiceTimeoutMs = locationServiceTimeoutMs,
      _maxLocationCacheAgeSec = maxLocationCacheAgeSec,
      _prefetchEnabled = prefetchEnabled,
      _geolocationEnabled = geolocationEnabled;