flt_background_geolocation library

BackgroundGeolocation

The primary APIs for the plugin are exposed through two classes:

📚 Help

Classes

ActivityChangeEvent
Event object provided to BackgroundGeolocation.onActivityChange. [...]
Authorization
Configures the SDK for authorization wtih your server's accessToken token (eg: JSON Web Token) and automatically requests new tokens when server returns HTTP status "401 Unauthorized". [...]
AuthorizationEvent
Event object provided to BackgroundGeolocation.onAuthorization.
BackgroundGeolocation
Primary plugin API. [...]
Config
Configuration API. [...]
ConnectivityChangeEvent
Event object provided to BackgroundGeolocation.onConnectivityChange.
DeviceInfo
Returns basic device information, including model, manufacturer, version & platform`. [...]
DeviceSettings
Device Settings API. [...]
DeviceSettingsRequest
An object for redirecting a User to an Android device's settings screen from a DeviceSettings request. [...]
Event
Event constants
Geofence
Circular Geofence class provided to BackgroundGeolocation.addGeofence and BackgroundGeolocation.addGeofences.
GeofenceEvent
Event-object provided to BackgroundGeolocation.onGeofence. [...]
GeofencesChangeEvent
Event object provided to BackgroundGeolocation.onGeofencesChange. [...]
HeadlessEvent
Event object provided to BackgroundGeolocation.registerHeadlessTask [...]
HeartbeatEvent
Event object provided to BackgroundGeolocation.onHeartbeat.
HttpEvent
Event object provided to BackgroundGeolocation.onHttp. [...]
Location
Geolocation event object provided to BackgroundGeolocation.onLocation and BackgroundGeolocation.onMotionChange.
LocationError
Location Error [...]
Logger
Logger API [...]
Notification
(Android only) The Android operating system requires a persistent notification when running a foreground service. [...]
ProviderChangeEvent
Event object provided to BackgroundGeolocation.onProviderChange
Sensors
Expresses the presence of detected motion-related sensors of the device. [...]
SQLQuery
Used for selecting a range of records from the SDK's database. Used with the methods Logger.getLog, Logger.emailLog and Logger.uploadLog. [...]
State
Expresses the current state of the plugin, including all Config options.
TransistorAuthorizationToken
Use TransistorAuthorizationToken.findOrCreate to generate an Authorization token suitable for configuring the SDK's Authorization with Transistor Software's Demo Server at http://tracker.transistorsoft.com. [...]