Skip to main content
API Reference

helpers


Classes

NameTypeSummary
LocationHelperLocationHelper
Subscribes to GPS updates via the Fused Location Provider and notifies an [OnUpdateListener] on each new fix. Used internally by [DefaultSessionDataSource].
SensorHelperSensorHelper
Reads compass (heading) and raw magnetometer data from Android sensors and exposes it as a [Compass] snapshot. Used internally by [DefaultSessionDataSource]. Call [resume] when the owning component becomes active and [pause] when it is paused to conserve battery.