public class IBeaconDiscoverer extends AbstractDeviceDiscoverer<IBeaconRegion,IBeaconDevice,IBeaconFilter>
Constructor and Description |
---|
IBeaconDiscoverer(ScanContext scanContext,
DiscoveryContract discoveryContract,
FutureShufflesCache cache) |
Modifier and Type | Method and Description |
---|---|
protected BluetoothDeviceEvent |
createEvent(EventType eventType,
IBeaconRegion iBeaconRegion,
java.util.List<IBeaconDevice> deviceList) |
void |
disable()
Disables and clears discoverer.
|
protected void |
onBeforeDeviceLost(IBeaconDevice device) |
protected void |
onShuffleResolved(IBeaconDevice iBeaconDevice) |
void |
performDiscovery(android.bluetooth.BluetoothDevice device,
int rssi,
byte[] scanRecord)
Performs discovery of specific Bluetooth devices.
|
applyFilters, evictInactiveDevices, getDevicesInSpace, getSpaceSet, insertDevicesIntoSpace, notifyDevicePresent, notifySpacePresent, onDeviceDiscoveredEvent, onDevicesUpdatedEvent, onResolved, onSpaceEnteredEvent, resolveShuffled
public IBeaconDiscoverer(ScanContext scanContext, DiscoveryContract discoveryContract, FutureShufflesCache cache)
protected BluetoothDeviceEvent createEvent(EventType eventType, IBeaconRegion iBeaconRegion, java.util.List<IBeaconDevice> deviceList)
createEvent
in class AbstractDeviceDiscoverer<IBeaconRegion,IBeaconDevice,IBeaconFilter>
protected void onBeforeDeviceLost(IBeaconDevice device)
onBeforeDeviceLost
in class AbstractDeviceDiscoverer<IBeaconRegion,IBeaconDevice,IBeaconFilter>
public void performDiscovery(android.bluetooth.BluetoothDevice device, int rssi, byte[] scanRecord)
BluetoothDeviceDiscoverer
device
- the bluetooth devicerssi
- the rssiscanRecord
- scan resultprotected void onShuffleResolved(IBeaconDevice iBeaconDevice)
onShuffleResolved
in class AbstractDeviceDiscoverer<IBeaconRegion,IBeaconDevice,IBeaconFilter>
public void disable()
BluetoothDeviceDiscoverer
disable
in interface BluetoothDeviceDiscoverer
disable
in class AbstractDeviceDiscoverer<IBeaconRegion,IBeaconDevice,IBeaconFilter>