Options
All
  • Public
  • Public/Protected
  • All
Menu

The event-object provided to BackgroundGeolocation.onHeartbeat

example
BackgroundGeolocation.onHeartbeat(heartbeatEvent => {
  console.log("[heartbeat] ", heartbeatEvent);
});

Hierarchy

  • HeartbeatEvent

Index

Properties

Properties

location

location: Location

The last-known location.

⚠️ Note:

  • The heartbeat event does not actively engage location-services. If you wish to get the current location in your callback, use getCurrentPosition.

Generated using TypeDoc