Skip to content

GeofenceAction

export const GeofenceAction = {

Geofence transition actions emitted by the SDK

Used with GeofenceEvent from BackgroundGeolocation.onGeofence.

Action Meaning
ENTER Device entered the geofence
EXIT Device exited the geofence
DWELL Device dwelled inside

Members

Dwell

Dwell: 'DWELL'

Device dwelled inside the geofence for at least the configured Config.geofenceProximityRadius.

Enter

Enter: 'ENTER',

Device entered the geofence.

Exit

Exit: 'EXIT',

Device exited the geofence.