services library

This library holds the definition of all CAMS services used for sensing.

Classes

AbstractDataManager
An abstract DataManager implementation useful for extension.
BatteryStatus
Runtime battery status of a device.
DataManager
The DataManager interface is used to upload Measurement objects to any data manager that implements this interface.
DataManagerEvent
An event for a data manager.
DataManagerEventTypes
An enumeration of data manager event types.
DataManagerFactory
A factory which can create a DataManager based on the type of an DataEndPoint.
DataManagerRegistry
A registry of DataManagerFactorys.
DeviceController
A DeviceController handles runtime management of all devices and services available to this phone, including the phone itself.
NoOpNotificationController
A no-operation notification controller that does nothing.
NotificationController
A controller of user notifications allow for creating, scheduling, and canceling user notifications.
Settings
Misc. settings for CAMS.
StudyProtocolManager
An interface defining a manger of SmartphoneStudyProtocols.

Enums

DebugLevel
Debugging levels.

Functions

debug(String message) → void
Add a debug messages to the system log.
info(String message) → void
Add an information messages to the system log.
warning(String message) → void
Add a warning messages to the system log.