public interface IBluetoothDiscoveryListener
BluetoothDevice
and to use IBlaubotDevice
insteadModifier and Type | Method and Description |
---|---|
void |
onDiscovery(java.util.List<BluetoothDevice> discoveredDevices,
java.util.HashMap<BluetoothDevice,java.util.List<java.util.UUID>> discoveredServices)
Called whenever something new or a change was discovered.
|
void |
onDiscoveryFinished(java.util.List<BluetoothDevice> discoveredDevices,
java.util.HashMap<BluetoothDevice,java.util.List<java.util.UUID>> discoveredServices)
Called after the discovery finished.
|
void |
onDiscoveryStarted()
Called whenever a discovery was started
|
void onDiscoveryStarted()
void onDiscovery(java.util.List<BluetoothDevice> discoveredDevices, java.util.HashMap<BluetoothDevice,java.util.List<java.util.UUID>> discoveredServices)
discoveredDevices
- all discovered devices during the last discoverydiscoveredServices
- a device to service mapping - including discovered devices and their sdp lookup resultsvoid onDiscoveryFinished(java.util.List<BluetoothDevice> discoveredDevices, java.util.HashMap<BluetoothDevice,java.util.List<java.util.UUID>> discoveredServices)
discoveredDevices
- all discovered devices during the last discoverydiscoveredServices
- a device to service mapping - including discovered devices and their sdp lookup results