public abstract static class Settings.Callbacks extends java.lang.Object implements MetaWearController.ModuleCallbacks
Constructor and Description |
---|
Settings.Callbacks() |
Modifier and Type | Method and Description |
---|---|
Module |
getModule()
Get the module the notification represents
|
void |
receivedAdvertisementParams(int interval,
short timeout)
Called when the advertisement parameters have been received from the board
|
void |
receivedDeviceName(java.lang.String name)
Called when the device name has been received from the board
|
void |
receivedTXPower(byte power)
Called when the tx power has been received
|
public final Module getModule()
MetaWearController.ModuleCallbacks
getModule
in interface MetaWearController.ModuleCallbacks
Module
public void receivedDeviceName(java.lang.String name)
name
- Up to 8 ASCII characterspublic void receivedAdvertisementParams(int interval, short timeout)
interval
- Advertisement intervaltimeout
- Advertisement timeoutpublic void receivedTXPower(byte power)
power
- TX power