CompassDataSource
open class CompassDataSource(context: Context, minimum_difference_for_update: Int = 5)This class expose a flow that emits when new heading of the device is found
This could be used to be combined with the locations flow or routing flow directly.
See also
| RoutingStatusRepository | Understand that there are to references to angles of the compass. The ‘raw compass angle’, ‘cartesian compass angle’ and ‘northEast compass angle’. The raw compass angle: 0 ^ -45 |
Constructors
CompassDataSource | constructor(context: Context , minimum_difference_for_update: Int = 5) |
Types
| Name | Summary |
|---|---|
Companion | object Companion |
Properties
compassSource
open val compassSource: Flow<Double>This flow expose the heading of the device. In range 0,360
Last updated on