LocationDataSource

Abstract class that defines the interface for providing location updates from a location data source.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun dispose()

Call this method if you want to dispose immediately all underlying native resources

Link copied to clipboard
Link copied to clipboard

Returns the list of the required android permission(s) for this Location Data Source

Link copied to clipboard
abstract fun isFeatureEnabled(): Boolean

Specifies whether the Location Data Source is enabled.

Link copied to clipboard
abstract fun lastKnownLocation(): Location?

Returns the last known location update.

Link copied to clipboard
open fun start(): Boolean

Starts location updates from this Location Data Source

Link copied to clipboard
open fun stop()

Stops location updates from this Location Data Source