public class SecureProfileDiscoverer extends java.lang.Object implements BluetoothDeviceDiscoverer
| Constructor and Description | 
|---|
SecureProfileDiscoverer(ScanContext scanContext,
                       DiscoveryContract discoveryContract,
                       FutureShufflesCache shufflesCache)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
disable()
Disables and clears discoverer. 
 | 
void | 
evictInactiveDevices(long currentTimeMillis)
Evicts inactive devices. 
 | 
void | 
onParsed(ISecureProfile profile)  | 
void | 
performDiscovery(android.bluetooth.BluetoothDevice device,
                int rssi,
                byte[] scanResult)
Performs discovery of specific Bluetooth devices. 
 | 
public SecureProfileDiscoverer(ScanContext scanContext, DiscoveryContract discoveryContract, FutureShufflesCache shufflesCache)
public void performDiscovery(android.bluetooth.BluetoothDevice device,
                             int rssi,
                             byte[] scanResult)
BluetoothDeviceDiscovererperformDiscovery in interface BluetoothDeviceDiscovererdevice - the bluetooth devicerssi - the rssiscanResult - scan resultpublic void onParsed(ISecureProfile profile)
public void evictInactiveDevices(long currentTimeMillis)
BluetoothDeviceDiscovererActivityCheckConfiguration.getInactivityTimeout()evictInactiveDevices in interface BluetoothDeviceDiscoverercurrentTimeMillis - current system time millispublic void disable()
BluetoothDeviceDiscovererdisable in interface BluetoothDeviceDiscoverer