movisens_flutter library

Classes

Movisens
The main plugin class which establishes a MethodChannel and an EventChannel.
MovisensBatteryLevel
Battery level of the Movisens device, in percent (%)
MovisensBodyPosition
Movisens body-position, which depends on the sensor location
MovisensDataPoint
Generic Movisens data-point which all concrete data-points inherit from. Each data-point has a timestamp.
MovisensMet
MovisensMetLevel
Metabolic buffered level, holds met level values for a sedentary, light and moderate state.
MovisensMovementAcceleration
Accelerometer measure of the Movisens device
MovisensStatus
Accelerometer measure of the Movisens device
MovisensStepCount
Step count monitored by the Movisens device
MovisensTapMarker
A generic class which only contains a timestamp, for when the movisens device was tapped.
UserData

Constants

BATTERY_LEVEL → const String
Keys for Movisens data points
'battery_level'
BODY_POSITION → const String
Keys for Movisens data points
'body_position'
CONNECTION_STATUS → const String
Keys for Movisens data points
'connection_status'
MET → const String
Keys for Movisens data points
'met'
MET_LEVEL → const String
Keys for Movisens data points
'met_level'
MOVEMENT_ACCELERATION → const String
Keys for Movisens data points
'movement_acceleration'
STEP_COUNT → const String
Keys for Movisens data points
'step_count'
TAP_MARKER → const String
Keys for Movisens data points
'tap_marker'

Functions

parseDataPoint(dynamic javaMap) MovisensDataPoint
Factory function for converting a generic object sent through the platform channel into a concrete MovisensDataPoint object.
timeStampHHMMSS(DateTime timeStamp) → String

Enums

Gender
SensorLocation

Exceptions / Errors

MovisensException
Custom Exception for the plugin, thrown whenever the plugin is used on platforms other than Android