public class EddystoneDiscoverer extends AbstractBluetoothDeviceDiscoverer<IEddystoneNamespace,IEddystoneDevice>
isNonConnectableModeSupported, PROFILE_RECOGNIZED_FILTERING_NOT_PASSED, PROFILE_RECOGNIZED_NO_BELONGING_SPACE_FOUND, PROFILE_UNRECOGNIZED
Constructor and Description |
---|
EddystoneDiscoverer(ScanContext scanContext,
DiscoveryContract discoveryContract) |
Modifier and Type | Method and Description |
---|---|
protected BluetoothDeviceEvent |
createEvent(EventType eventType,
IEddystoneNamespace eddystoneNamespace,
java.util.List<IEddystoneDevice> deviceList) |
void |
disable()
Disables discoverer.
|
protected void |
onBeforeDeviceLost(IEddystoneDevice device) |
boolean |
performDiscovery(android.bluetooth.BluetoothDevice bluetoothDevice,
int rssi,
byte[] scanRecord)
Performs discovery of specific Bluetooth devices.
|
clearResources, evictInactiveDevices, getDevicesInSpace, getSpaceSet, insertDevicesIntoSpace, notifyDevicePresent, notifySpacePresent, onDeviceDiscoveredEvent, onDeviceLostEvent, onDevicesUpdatedEvent, onSpaceAbandonedEvent, onSpaceEnteredEvent
public EddystoneDiscoverer(ScanContext scanContext, DiscoveryContract discoveryContract)
protected BluetoothDeviceEvent createEvent(EventType eventType, IEddystoneNamespace eddystoneNamespace, java.util.List<IEddystoneDevice> deviceList)
createEvent
in class AbstractBluetoothDeviceDiscoverer<IEddystoneNamespace,IEddystoneDevice>
protected void onBeforeDeviceLost(IEddystoneDevice device)
onBeforeDeviceLost
in class AbstractBluetoothDeviceDiscoverer<IEddystoneNamespace,IEddystoneDevice>
public boolean performDiscovery(android.bluetooth.BluetoothDevice bluetoothDevice, int rssi, byte[] scanRecord)
BluetoothDeviceDiscoverer
bluetoothDevice
- the bluetooth devicerssi
- the rssiscanRecord
- scan resultpublic void disable()
BluetoothDeviceDiscoverer