Skip to Content
API ReferenceLocationStepsDataSource

StepsDataSource

open class StepsDataSource(context: Context)

This class expose a flow that emits every time there is a new step detected by the sensor.

This could be used to be combined with the locations flow to emit a value only when a new step is detected.

See also

LocationMergedRepository

Constructors

StepsDataSourceconstructor(context: Context )

Properties

stepsSource

open val stepsSource: Flow<Int>
Last updated on