ru.dgis.sdk.positioning.DefaultLocationSource | Android SDK | 2GIS Documentation
Android SDK

DefaultLocationSource

Implementation of the default location source (recommended for use). If available, GMS is used, otherwise - LocationManager.

DefaultLocationSource(context: Context)

Implementation of the default location source (recommended for use). If available, GMS is used, otherwise - LocationManager.

Parameters
context
Returns
Methods
Properties

Currently best known geolocation. If there is no currently known geolocation, null is returned. The returned geolocation may be unreliable, such as being out of date and/or not meeting the required accuracy.

Whether to use GMS.