public static enum DataProcessor.Register extends java.lang.Enum<DataProcessor.Register> implements Register
Enum Constant and Description |
---|
ENABLE
Enable the module
|
FILTER_CONFIGURATION
Modify or read the filter's configuration
|
FILTER_CREATE
Add or retrieve data about a data filter
|
FILTER_NOTIFICATION
Receives notifications from filter outputs
|
FILTER_NOTIFY_ENABLE
Enables output notification from a filter
|
FILTER_REMOVE
Remove a filter
|
FILTER_REMOVE_ALL |
FILTER_STATE
Modify or read the filter's internal state
|
Modifier and Type | Method and Description |
---|---|
Module |
module()
Get the module the register belongs to
|
void |
notifyCallbacks(java.util.Collection<MetaWearController.ModuleCallbacks> callbacks,
byte[] data)
Trigger the appropriate callback when a read or value change occurs on
the register
|
static DataProcessor.Register |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataProcessor.Register[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataProcessor.Register ENABLE
public static final DataProcessor.Register FILTER_CREATE
public static final DataProcessor.Register FILTER_NOTIFICATION
public static final DataProcessor.Register FILTER_STATE
public static final DataProcessor.Register FILTER_CONFIGURATION
public static final DataProcessor.Register FILTER_REMOVE
public static final DataProcessor.Register FILTER_NOTIFY_ENABLE
public static final DataProcessor.Register FILTER_REMOVE_ALL
public static DataProcessor.Register[] values()
for (DataProcessor.Register c : DataProcessor.Register.values()) System.out.println(c);
public static DataProcessor.Register valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic Module module()
Register
public void notifyCallbacks(java.util.Collection<MetaWearController.ModuleCallbacks> callbacks, byte[] data)
Register
notifyCallbacks
in interface Register
callbacks
- Callbacks to triggerdata
- Data received from the register