public abstract static class DataProcessor.Callbacks extends java.lang.Object implements MetaWearController.ModuleCallbacks
Constructor and Description |
---|
DataProcessor.Callbacks() |
Modifier and Type | Method and Description |
---|---|
Module |
getModule()
Get the module the notification represents
|
void |
receivedFilterId(byte filterId)
Called when the filter user id is received
|
void |
receivedFilterObject(DataProcessor.Filter filter)
Called when the filter attributes have been received from the board
|
void |
receivedFilterOutput(byte filterId,
byte[] output)
Called when output data is received from the filter
|
public final Module getModule()
MetaWearController.ModuleCallbacks
getModule
in interface MetaWearController.ModuleCallbacks
Module
public void receivedFilterId(byte filterId)
filterId
- Id the user can use when referring to the desired filterpublic void receivedFilterObject(DataProcessor.Filter filter)
filter
- Filter attributes wrapped in the Filter objectpublic void receivedFilterOutput(byte filterId, byte[] output)
filterId
- User id corresponding to what filter the output is fromoutput
- Filter output in byte form