public abstract static class Event.Callbacks extends java.lang.Object implements MetaWearController.ModuleCallbacks
Constructor and Description |
---|
Event.Callbacks() |
Modifier and Type | Method and Description |
---|---|
Module |
getModule()
Get the module the notification represents
|
void |
receivedCommandBytes(byte[] commandBytes)
Called when the bytes have been received
|
void |
receivedCommandId(byte id)
Called when a command user id is received
|
void |
receivedCommandInfo(Event.Command macroCommand)
Called when command information is received
|
public final Module getModule()
MetaWearController.ModuleCallbacks
getModule
in interface MetaWearController.ModuleCallbacks
Module
public void receivedCommandId(byte id)
id
- ID for referring to the specific commandpublic void receivedCommandInfo(Event.Command macroCommand)
macroCommand
- Command object describing the commandpublic void receivedCommandBytes(byte[] commandBytes)
commandBytes
- Bytes of the command to be executed