Skip to content

Event

class Event

Supported event names emitted by the SDK.


Members

ActivityChange

static const ACTIVITYCHANGE = "activitychange"

Emitted when a motion-activity change is detected.

Authorization

static const AUTHORIZATION = "authorization"

Emitted when the plugin's authorization state changes.

Boot

static const BOOT = "boot"

Emitted when the plugin boots.

ConnectivityChange

static const CONNECTIVITYCHANGE = "connectivitychange"

Emitted when the device's network connectivity changes.

EnabledChange

static const ENABLEDCHANGE = "enabledchange"

Emitted when the plugin's enabled-state changes.

Geofence

static const GEOFENCE = "geofence"

Emitted when a geofence transition occurs.

GeofencesChange

static const GEOFENCESCHANGE = "geofenceschange"

Emitted when geofences are added/removed/activated/deactivated.

Heartbeat

static const HEARTBEAT = "heartbeat"

Emitted at the configured Config.heartbeatInterval when the plugin is running.

Http

static const HTTP = "http"

Emitted when an HTTP request is sent to the configured Config.http.url endpoint.

Location

static const LOCATION = "location"

Emitted when a location is recorded.

MotionChange

static const MOTIONCHANGE = "motionchange"

Emitted when a motion-change is detected.

Notification

static const NOTIFICATIONACTION = "notificationaction"

Emitted when a user interacts with a plugin-generated notification.

PowerSaveChange

static const POWERSAVECHANGE = "powersavechange"

Emitted when the device enters or exits power-saving mode.

ProviderChange

static const PROVIDERCHANGE = "providerchange"

Emitted when the device location-provider changes state.

Schedule

static const SCHEDULE = "schedule"

Emitted when a configured schedule is triggered.

Terminate

static const TERMINATE = "terminate"

Emitted when the plugin is terminated.