Callibri constructor

Callibri(
  1. String guid
)

Implementation

Callibri(super.guid) {
  _signalStreamWrapper = EventChannelStreamWrapper(
      guid, _signalChannelStream, _onSignalDataReceived);
  _envelopeStreamWrapper = EventChannelStreamWrapper(
      guid, _envelopeChannelStream, _onEnvelopeReceived);
  _quaternionStreamWrapper = EventChannelStreamWrapper(
      guid, _quaternionChannelStream, _onQuaternionDataReceived);
  _respirationStreamWrapper = EventChannelStreamWrapper(
      guid, _respirationChannelStream, _onRespirationDataReceived);
  _electrodeStateStreamWrapper = EventChannelStreamWrapper(guid,
      _electrodeStateChanelStream, (v) => CallibriElectrodeState.values[v]);
  initMEMS(guid, Sensor.api);
}