Options
All
  • Public
  • Public/Protected
  • All
Menu

The event-object provided to BackgroundGeolocation.onGeofence when a geofence transition event occurs.

example
BackgroundGeolocation.onGeofence(geofenceEvent => {
  console.log("[geofence] ", geofenceEvent.identifier, geofence.action, geofenceEvent.location);
});

Hierarchy

  • GeofenceEvent

Index

Properties

action

action: string

The transition type: ENTER, EXIT, DWELL

Optional extras

extras: Extras

Optional Geofence.extras

identifier

identifier: string

The identifier of the geofence which fired.

location

location: Location

The Location where the geofence transition occurred.

Generated using TypeDoc