ModuleOxi class

Available Extensions
Annotations
  • @CopyWith()

Constructors

ModuleOxi({required ModuleBle ble, Commands commands = const Commands(), List<List<double>>? udfConvert({required int channelCount, required List<int> event, required int sampleCount}) = Builtin.udfConvertWearCardioT, int samplingRate = 100})

Properties

adaptiveHR AdaptiveHeartRate
getter/setter pair
ble ModuleBle
final
callbacks List<((void Function(Channels, DataFilter)?), int)>
callbacks is functions to be executed periodically.
final
channelCount int
getter/setter pair
commands Commands
final
dataFilter DataFilter
getter/setter pair
displayBuffer double
displayBuffer decides a length of buffered Stream, which is shown to screen.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isCompressed bool
If isCompressed is true, pulse oxi signal is decompressed by LZMA algorithm.
getter/setter pair
isFiltered bool
//////////////////////////////////////////////// isFiltered decides whether ecg signal is filtered.
getter/setter pair
lastChannel Channels?
lastChannel is a latest stream value from ble.streams.bufferedOxi
getter/setter pair
lengthBuffer double
lengthBuffer decides a length of buffered Stream,
getter/setter pair
maxBuffer double
maxBuffer decides the maximum length of buffered Stream.
getter/setter pair
refreshBuffer double
refreshBuffer decides a length to be hidden after refreshed.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleCount int
getter/setter pair
samplingRate int
//
final
udfConvert List<List<double>>? Function({required int channelCount, required List<int> event, required int sampleCount})
final

Methods

initStream() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<void>
pause
start() Future<void>
start sends start_oxi_packet to device.
stop() Future<void>
stop sends stop_oxi_packet to device.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited