CLCmdStreamingData class final
Data structure for streaming information from peripheral.
Constructors
- CLCmdStreamingData({required int epoch, required double skinTemperature, required int walking, required int running, required double calories, required double distance, required int sleepSeconds, required int sleepState, required int heartRate, required int skinTouch, required int activity_data, required int acttype, required int uv, required int voc, required int alcohol, required int bp_hp, required int bp_lp, required int newstate, required int entries, required double wristtemp, required double bodytemp, required int spo2, required int hrv, required int stress, required int atm, required int sweatsugar, required int lacticacid, required int glucose})
- CLCmdStreamingData.from(PERIPHERAL_STREAMING_DATA v)
-
factory
Properties
- activity_data → int
-
< The number of pads skin touched.
final
- acttype → int
-
final
- alcohol → int
-
final
- atm → int
-
final
- bodytemp → double
-
final
- bp_hp → int
-
final
- bp_lp → int
-
final
- calories → double
-
< The number of running steps.
final
- distance → double
-
< The number of calories burned.
final
- entries → int
-
final
- epoch → int
-
final
- glucose → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heartRate → int
-
< Sleep state: idle (not worn), awake, light, sound, rem. 在枚举CLCmdSLEEP_STATE中取值
final
- hrv → int
-
final
- lacticacid → int
-
final
- newstate → int
-
final
- running → int
-
< The number of walking steps.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skinTemperature → double
-
< The epoch time since 1970.
final
- skinTouch → int
-
< The heart rate in beat per minute.
final
- sleepSeconds → int
-
< The distance traveled in meters.
final
- sleepState → int
-
< The total sleep seconds.
final
- spo2 → int
-
final
- stress → int
-
final
- sweatsugar → int
-
final
- uv → int
-
final
- values → String
-
no setter
- voc → int
-
final
- walking → int
-
< The skin temperature
final
- wristtemp → double
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
progress
→ StreamController<
double> -
final
-
subject
→ StreamController<
CLCmdStreamingData> -
final
- titles → String
-
no setter
Static Methods
-
loadMinuteData(
) → void