MetaWear C# SDK  1.0.0
C# API for MbientLab's sensor platform
Public Member Functions | List of all members
MbientLab.MetaWear.IActiveDataProducer< T > Interface Template Reference

A type DataProducer that is always producing data and is not user controlled. More...

Inheritance diagram for MbientLab.MetaWear.IActiveDataProducer< T >:
MbientLab.MetaWear.IDataProducer

Public Member Functions

Task< T > ReadAsync ()
 Reads the current value of the producer More...
 
- Public Member Functions inherited from MbientLab.MetaWear.IDataProducer
Task< IRouteAddRouteAsync (Action< IRouteComponent > builder)
 Adds a data route to the producer More...
 

Detailed Description

A type DataProducer that is always producing data and is not user controlled.

Template Parameters
TType that the raw value should be interpreted as

Member Function Documentation

◆ ReadAsync()

Task<T> MbientLab.MetaWear.IActiveDataProducer< T >.ReadAsync ( )

Reads the current value of the producer

Returns
Current value
Exceptions
System.TimeoutExceptionIf task takes longer than 250ms to complete

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