@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
KuraBluetoothCommandExceptionvoid stopBeaconAdvertising()
throws KuraBluetoothCommandException
KuraBluetoothCommandExceptionvoid updateBeaconAdvertisingInterval(java.lang.Integer min,
java.lang.Integer max)
throws KuraBluetoothCommandException
min - Minimum time interval between advertisesmax - Maximum time interval between advertisesKuraBluetoothCommandExceptionvoid updateBeaconAdvertisingData(T beacon) throws KuraBluetoothCommandException
beacon - An instance of BluetoothLeBeacon classKuraBluetoothCommandExceptionBluetoothLeAdapter getAdapter()