Package-level declarations

Types

Link copied to clipboard
sealed class ActiveSenseModel

Parent Class for all types of SensorMessages

Link copied to clipboard
data class BatteryModel(val type: String = "liveWatchBattery", val battery: Int, val user: String)

Model representing the current battery level of the watch

Link copied to clipboard

This data is used to decide on how to flatten a specific sensors data when sending a message

Link copied to clipboard

Used for communication between Activity and Service. Used for additional Messaging towards the user.

Link copied to clipboard

Used for communication between Activity and Service. Signified the State of Connection between the Watch and backend Services.

Link copied to clipboard
data class MessageConfiguration(dataConfigs: List<DataConfig<out SupportedSensorTypes>>, measureConfigs: List<FieldConfig>, configurationName: String, messageType: ActiveSenseModel)

Bundles the configuration needed to send a singular message

Link copied to clipboard
data class PPGModel(val type: String = "liveWatchPPGData", val hertz: Int, val user: String, val data: List<Map<String, Any>>) : ActiveSenseModel

Model representing the current photoplethysmography data captured via the watch

Link copied to clipboard
data class WatchModel(val type: String = "liveWatchMotion", val hertz: Int, val user: String, val data: List<Map<String, Any>>) : ActiveSenseModel

Model representing the motion data captured by the watches sensors