System Location Data Source
Creates a SystemLocationDataSource.
Since
200.8.0
Parameters
a specific provider to use with this SystemLocationDataSource
the minimum time interval at which location updates should be received, in milliseconds. Must be >= 0.
the minimum distance between which location updates should be received, in meters. Must be >= 0.
Throws
Deprecated
since 200.8.0. Criteria-based APIs are deprecated in favor of explicitly selecting the provider of interest (using the userProvider parameter). This constructor will be removed in a future release.
Replace with
SystemLocationDataSource(String?, Long, Float)
Creates a SystemLocationDataSource.
Since
200.1.0
Parameters
criteria for selecting a location provider
a specific provider to use with this SystemLocationDataSource
the minimum time interval at which location updates should be received, in milliseconds. Must be >= 0.
the minimum distance between which location updates should be received, in meters. Must be >= 0.