Class ShadowBluetoothLeAdvertiser

java.lang.Object
org.robolectric.shadows.ShadowBluetoothLeAdvertiser

@Implements(value=android.bluetooth.le.BluetoothLeAdvertiser.class, minSdk=26) public class ShadowBluetoothLeAdvertiser extends Object
Shadow implementation of BluetoothLeAdvertiser.
  • Field Details

    • bluetoothLeAdvertiserReflector

      @ReflectorObject protected org.robolectric.shadows.ShadowBluetoothLeAdvertiser.BluetoothLeAdvertiserReflector bluetoothLeAdvertiserReflector
  • Constructor Details

    • ShadowBluetoothLeAdvertiser

      public ShadowBluetoothLeAdvertiser()
  • Method Details

    • getAdvertisementRequestCount

      public int getAdvertisementRequestCount()
      Returns the count of current ongoing Bluetooth LE advertising requests.
    • getAdvertisingSetRequestCount

      public int getAdvertisingSetRequestCount()
      Returns the count of current ongoing Bluetooth LE advertising set requests.