public interface MechanicalSwitch extends MetaWearController.ModuleController
Module.MECHANICAL_SWITCH
Modifier and Type | Interface and Description |
---|---|
static class |
MechanicalSwitch.Callbacks
Callbacks for the mechanical switch module
|
static class |
MechanicalSwitch.Register
Enumeration of registers under the mechanical switch module
|
Modifier and Type | Method and Description |
---|---|
void |
disableNotification()
Disable notifications from the switch
|
void |
enableNotification()
Enable notifications when the switch state changes
|