MetaWear C# SDK  1.2.0
C# API for MbientLab's sensor platform
Public Member Functions | List of all members
MbientLab.MetaWear.IDataProducer Interface Reference

A component that creates data, such as firmware features (battery level reporting) or sensors More...

Inheritance diagram for MbientLab.MetaWear.IDataProducer:
MbientLab.MetaWear.IActiveDataProducer< T > MbientLab.MetaWear.IAsyncDataProducer MbientLab.MetaWear.IForcedDataProducer MbientLab.MetaWear.Peripheral.SerialPassthrough.II2CDataProducer MbientLab.MetaWear.Peripheral.SerialPassthrough.ISPIDataProducer MbientLab.MetaWear.Sensor.AccelerometerBmi160.IStepDetectorDataProducer MbientLab.MetaWear.Sensor.AccelerometerBosch.IFlatDataProducer MbientLab.MetaWear.Sensor.AccelerometerBosch.ILowAndHighGDataProducer MbientLab.MetaWear.Sensor.AccelerometerBosch.IMotionDataProducer MbientLab.MetaWear.Sensor.AccelerometerBosch.IOrientationDataProducer MbientLab.MetaWear.Sensor.AccelerometerBosch.ITapDataProducer MbientLab.MetaWear.Sensor.AccelerometerMma8452q.IOrientationDataProducer MbientLab.MetaWear.Peripheral.Gpio.IAnalogDataProducer MbientLab.MetaWear.Sensor.AccelerometerBmi160.IStepCounterDataProducer MbientLab.MetaWear.Sensor.Temperature.ISensor

Public Member Functions

Task< IRouteAddRouteAsync (Action< IRouteComponent > builder)
 Adds a data route to the producer More...
 

Detailed Description

A component that creates data, such as firmware features (battery level reporting) or sensors

Member Function Documentation

◆ AddRouteAsync()

Task<IRoute> MbientLab.MetaWear.IDataProducer.AddRouteAsync ( Action< IRouteComponent builder)

Adds a data route to the producer

Parameters
builderBuilder object to construct the route
Returns
Object representing the created route
Exceptions
TimeoutExceptionIf creating reaction, loggers, or data processors takes too long
IllegalRouteOperationExceptionIf an invalid combination of route components are used

The documentation for this interface was generated from the following file: