public abstract class BleAdvertisement
- Object
- BleAdvertisement
Live handle of a running advertisement returned by
BluetoothLE.startAdvertising. Keep a reference and stop() when
done.Constructors
protected BleAdvertisement() | Constructed by ports; not application API. |
Methods
public abstract void stop() | Stops advertising. |
public abstract boolean isActive() | true while the advertisement is broadcast. |
Inherited methods
Constructor details
BleAdvertisement
protected BleAdvertisement()Constructed by ports; not application API.
Method details
stop
public abstract void stop()Stops advertising. A no-op when already stopped.
isActive
public abstract boolean isActive()true while the advertisement is broadcast.