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