Documentation
¶
Overview ¶
Package pedometer counts steps.
nimbus native plugin add pedometer
if ok, _ := pedometer.Request(ctx); ok {
go pedometer.Watch(ctx, setSteps)
}
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Between ¶
Between counts the steps taken in a past period. iOS keeps about a week; Android keeps nothing, so there it fails with plugin.Unavailable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.