LocationSource

A source of user location updates.

Inheritors

Properties

Link copied to clipboard
abstract val attitudes: Flow<Attitude>

A stream of device attitude (heading) updates emitted by the source.

Link copied to clipboard
abstract val coordinates: Flow<Coordinate>

A stream of user location updates emitted by the source.

Link copied to clipboard
abstract val errors: Flow<Throwable>

A stream of errors emitted by the source.

Link copied to clipboard
abstract val isStarted: Boolean

Indicates whether the location source is started.

Link copied to clipboard

Indicates whether the location source supports attitude.

Functions

Link copied to clipboard
abstract fun deinit()

Releases the resources held by the location source.

Link copied to clipboard
abstract fun start()

Starts the location source.

Link copied to clipboard
abstract fun stop()

Stops the location source.