Options
All
  • Public
  • Public/Protected
  • All
Menu

The event-object provided to BackgroundGeolocation.onActivityChange.

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

Hierarchy

  • MotionActivityEvent

Index

Properties

Properties

activity

The reported device motion activity.

Activity Name
still
walking
on_foot
running
on_bicycle
in_vehicle
unknown

confidence

confidence: number

Confidence of the reported device motion activity in %.

Generated using TypeDoc