Options
All
  • Public
  • Public/Protected
  • All
Menu

The event-object provided to BackgroundGeolocation.onActivityChange. Also attached to each recorded Location.

example
BackgroundGeolocation.onActivityChange(activityChangeEvent => {
  console.log("[activitychange] ", activityChangeEvent.activity, activityChangeEvent.confidence);
});

Hierarchy

  • MotionActivityEvent

Index

Properties

Properties

activity

activity: string

The reported device motion activity.

Activity Name
still
walking
on_foot
running
on_bicycle
in_vehicle

confidence

confidence: number

Confidence of the reported device motion activity in %.

Generated using TypeDoc