@ProviderType
public interface BluetoothLeBeaconAdvertiser<T extends BluetoothLeBeacon>
Modifier and Type | Method and Description |
---|---|
BluetoothLeAdapter |
getAdapter()
Get the bluetooth adapter this advertiser is associated to.
|
void |
startBeaconAdvertising()
Start Beacon advertising.
|
void |
stopBeaconAdvertising()
Stop Beacon advertising.
|
void |
updateBeaconAdvertisingData(T beacon)
Set the data in to the Beacon advertising packet.
|
void |
updateBeaconAdvertisingInterval(java.lang.Integer min,
java.lang.Integer max)
Set the minimum and maximum Beacon advertising interval.
|
void startBeaconAdvertising() throws KuraBluetoothCommandException
KuraBluetoothCommandException
void stopBeaconAdvertising() throws KuraBluetoothCommandException
KuraBluetoothCommandException
void updateBeaconAdvertisingInterval(java.lang.Integer min, java.lang.Integer max) throws KuraBluetoothCommandException
min
- Minimum time interval between advertisesmax
- Maximum time interval between advertisesKuraBluetoothCommandException
void updateBeaconAdvertisingData(T beacon) throws KuraBluetoothCommandException
beacon
- An instance of BluetoothLeBeacon classKuraBluetoothCommandException
BluetoothLeAdapter getAdapter()