|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TIOManagerCallback
The TIOManager's event listener implements the TIOManagerCallback interface in order to monitor system Bluetooth availability and to manage information about TIOPeripheral objects.
Method Summary | |
---|---|
void |
tioManagerDidDiscoverPeripheral(TIOPeripheral peripheral)
Invoked when a TerminalIO peripheral has been newly discovered. |
void |
tioManagerDidUpdatePeripheral(TIOPeripheral peripheral)
Invoked when an update of a TerminalIO peripheral's advertisement has been detected. |
Method Detail |
---|
void tioManagerDidDiscoverPeripheral(TIOPeripheral peripheral)
TIOManager.startScan()
.
The peripheral will then be added to the TIOManager peripherals list, and this method will not be invoked again for this specific peripheral.
If a known peripheral with an updated advertisement is detected, the tioManagerDidUpdatePeripheral()
method will be invoked.
manager
- The TIOManager singleton instance.peripheral
- A TIOPeripheral instance representing the discovered TerminalIO peripheral.void tioManagerDidUpdatePeripheral(TIOPeripheral peripheral)
TIOManager.startScan()
.
manager
- The TIOManager singleton instance.peripheral
- A TIOPeripheral instance representing the TerminalIO peripheral having updated its advertisement.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |