Package ej.bluetooth.listeners
Interface ConnectionListener
-
- All Known Implementing Classes:
DefaultConnectionListener
public interface ConnectionListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAdvertisementCompleted()voidonConnected(BluetoothConnection connection)voidonConnectFailed(BluetoothAddress address)voidonDisconnected(BluetoothConnection connection)voidonDiscoveryCompleted(BluetoothConnection connection)voidonDiscoveryResult(BluetoothConnection connection, BluetoothService service)voidonPairCompleted(BluetoothConnection connection, boolean success)voidonPairRequest(BluetoothConnection connection)voidonPasskeyGenerated(BluetoothConnection connection, int passkey)voidonPasskeyRequest(BluetoothConnection connection)voidonScanCompleted()voidonScanResult(BluetoothAddress address, byte[] advertisementData, int rssi)
-
-
-
Method Detail
-
onAdvertisementCompleted
void onAdvertisementCompleted()
-
onScanCompleted
void onScanCompleted()
-
onScanResult
void onScanResult(BluetoothAddress address, byte[] advertisementData, int rssi)
-
onConnectFailed
void onConnectFailed(BluetoothAddress address)
-
onConnected
void onConnected(BluetoothConnection connection)
-
onDisconnected
void onDisconnected(BluetoothConnection connection)
-
onPairRequest
void onPairRequest(BluetoothConnection connection)
-
onPairCompleted
void onPairCompleted(BluetoothConnection connection, boolean success)
-
onPasskeyRequest
void onPasskeyRequest(BluetoothConnection connection)
-
onPasskeyGenerated
void onPasskeyGenerated(BluetoothConnection connection, int passkey)
-
onDiscoveryResult
void onDiscoveryResult(BluetoothConnection connection, BluetoothService service)
-
onDiscoveryCompleted
void onDiscoveryCompleted(BluetoothConnection connection)
-
-