# Class BleAdvertisement

java.lang.Object
com.codename1.bluetooth.le.server.BleAdvertisement

public abstract class BleAdvertisement extends Object
Live handle of a running advertisement returned by `BluetoothLE.startAdvertising`. Keep a reference and `stop()` when done.

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `BleAdvertisement()`
  Constructed by ports; not application API.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract boolean`
  `isActive()`
  `true` while the advertisement is broadcast.
  `abstract void`
  `stop()`
  Stops advertising.

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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.