BleAdvertisingConfig

data class BleAdvertisingConfig(val settings: BleAdvertisingSettings = BleAdvertisingSettings(), val advertiseData: BleAdvertisingData? = null, val scanResponseData: BleAdvertisingData? = null)

A class for BLE advertisement configuration.

See also

(https://developer.android.com/reference/android/bluetooth/le/AdvertiseSettings)

Constructors

Link copied to clipboard
constructor(settings: BleAdvertisingSettings = BleAdvertisingSettings(), advertiseData: BleAdvertisingData? = null, scanResponseData: BleAdvertisingData? = null)

Properties

Link copied to clipboard

Advertisement data (BleAdvertisingData) to be broadcasted.

Link copied to clipboard

Scan response (BleAdvertisingData) associated with the advertisement data.

Link copied to clipboard

Settings (BleAdvertisingSettings) for Bluetooth LE advertising.