public interface FlicManagerListener
FlicManager
event listener.
This interface defines the callback methods that will be called in response
to various events fired by the FlicManager
class.Modifier and Type | Method and Description |
---|---|
void |
onBdAddrRangeSyncFailed()
Bluetooth address range sync failed handler.
|
void |
onBluetoothStateChange(int state)
Bluetooth state change event handler.
|
void |
onDiscover(java.lang.String bdAddr,
int rssi,
boolean isPrivateMode,
int revision)
Scan discovery event handler.
|
boolean |
onStartScanFailed()
Start scan failed event handler.
|
void onDiscover(java.lang.String bdAddr, int rssi, boolean isPrivateMode, int revision)
FlicManager.startScan()
.bdAddr
- The BD address of the button that was foundrssi
- The RSSI valueisPrivateMode
- The buttont is in private modevoid onBdAddrRangeSyncFailed()
boolean onStartScanFailed()
void onBluetoothStateChange(int state)