public interface Settings extends MetaWearBoard.Module
Modifier and Type | Interface and Description |
---|---|
static interface |
Settings.AdvertisementConfig
Wrapper class encapsulating the advertisement configuration
|
static interface |
Settings.ConfigEditor
Interface for configuring the advertisement settings
|
static interface |
Settings.ConnectionParameterEditor
Interface for configuring the Bluetooth LE connection parameters
|
static interface |
Settings.ConnectionParameters
Wrapper class containing the connection parameters
|
Modifier and Type | Method and Description |
---|---|
Settings.ConfigEditor |
configure()
Configures advertisement settings
|
Settings.ConnectionParameterEditor |
configureConnectionParameters()
Configures the connection parameters
|
void |
initiateBonding()
Trigger the board to initiate the Bluetooth bonding process with the connected Android device
|
void |
keepBond()
Keep the bond on disconnect
|
AsyncOperation<Settings.AdvertisementConfig> |
readAdConfig()
Reads the current advertisement settings
|
AsyncOperation<Settings.ConnectionParameters> |
readConnectionParameters()
Reads the current connection parameters
|
void |
removeBond()
Remove Bluetooth bond to the board on disconnect
|
void |
startAdvertisement()
Trigger the board to start advertising
|
Settings.ConnectionParameterEditor configureConnectionParameters()
AsyncOperation<Settings.ConnectionParameters> readConnectionParameters()
Settings.ConfigEditor configure()
AsyncOperation<Settings.AdvertisementConfig> readAdConfig()
void removeBond()
void keepBond()
void startAdvertisement()
void initiateBonding()