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

Represents a More...

Public Member Functions

void Attach (Action< IData > handler)
 Assigns a handler for the received data More...
 
void Listen (Action< IData > handler=null)
 Activates the subscriber and assigns a handler for the received data More...
 
void Quiet ()
 Quiets the streamed data the subscriber is listening to, does nothing if the subcriber is listening to logged data More...
 

Properties

string Identifier [get]
 String identifying the data producer chain the subscriber is receiving data from. More...
 

Detailed Description

Represents a

Stream or Log component added in a route builder

Member Function Documentation

◆ Attach()

void MbientLab.MetaWear.ISubscriber.Attach ( Action< IData handler)

Assigns a handler for the received data

Parameters
handlerHandler to process the received data

◆ Listen()

void MbientLab.MetaWear.ISubscriber.Listen ( Action< IData handler = null)

Activates the subscriber and assigns a handler for the received data

Parameters
handlerHandler to process the received data, null if existing handler should be used

◆ Quiet()

void MbientLab.MetaWear.ISubscriber.Quiet ( )

Quiets the streamed data the subscriber is listening to, does nothing if the subcriber is listening to logged data

Property Documentation

◆ Identifier

string MbientLab.MetaWear.ISubscriber.Identifier
get

String identifying the data producer chain the subscriber is receiving data from.

This value can be matched with the IAnonymousRoute.Identifier property if syncing logged data with the IAnonymousRoute interface.


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