public final class IBeaconAdvertisingDataController
extends java.lang.Object
ForceScanConfiguration
.Modifier and Type | Field and Description |
---|---|
static int |
TX_POWER_BLOCK |
static int |
TYPE_MANUFACTURER_SPECIFIC_DATA
Specifies byte value of the type of manufacturer-specific data.
|
Constructor and Description |
---|
IBeaconAdvertisingDataController(IBeaconScanContext scanContext)
AdvertisingDataController handles advertising data
(
android.bluetooth.BluetoothAdapter.LeScanCallback ). |
Modifier and Type | Method and Description |
---|---|
boolean |
filter(IBeaconAdvertisingPacket advertisingPacket)
Filters Advertising Package with specfied
IBeaconFilter s. |
IBeaconAdvertisingPacket |
getOrCreateAdvertisingPackage(BluetoothDevice device,
int rssi,
<any> parsedScan)
Creates or retrieves cached advertising package.
|
static <any> |
parseScanRecord(byte[] scanRecord)
Parses scan record sent by kontakt.io IBeacon device.
|
public static final int TYPE_MANUFACTURER_SPECIFIC_DATA
public static final int TX_POWER_BLOCK
public IBeaconAdvertisingDataController(IBeaconScanContext scanContext)
android.bluetooth.BluetoothAdapter.LeScanCallback
).scanContext
- the IBeacon Scan Contextpublic static <any> parseScanRecord(byte[] scanRecord)
scanRecord
- the scan recordpublic IBeaconAdvertisingPacket getOrCreateAdvertisingPackage(BluetoothDevice device, int rssi, <any> parsedScan)
device
- the devicerssi
- the rssiparsedScan
- initially parsed scan recordpublic boolean filter(IBeaconAdvertisingPacket advertisingPacket)
IBeaconFilter
s.advertisingPacket
- the advertising package