Space - Space type parameter which the discovered devices belong toDevice - Bluetooth device type parameterpublic abstract class AbstractDeviceDiscoverer<Space,Device extends RemoteBluetoothDevice,Filter extends com.android.internal.util.Predicate<Device>> extends java.lang.Object implements BluetoothDeviceDiscoverer, ShuffledDevicesResolver.ResolveCallback
| Modifier and Type | Method and Description |
|---|---|
void |
disable()
Disables and clears discoverer.
|
void |
evictInactiveDevices(long currentTimeMillis)
Evicts inactive devices.
|
void |
onResolved(RemoteBluetoothDevice device) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitperformDiscoverypublic void onResolved(RemoteBluetoothDevice device)
onResolved in interface ShuffledDevicesResolver.ResolveCallbackpublic void evictInactiveDevices(long currentTimeMillis)
BluetoothDeviceDiscovererActivityCheckConfiguration.getInactivityTimeout()evictInactiveDevices in interface BluetoothDeviceDiscoverercurrentTimeMillis - current system time millispublic void disable()
BluetoothDeviceDiscovererdisable in interface BluetoothDeviceDiscoverer