AdvertisingPayload

class AdvertisingPayload(val advertisingData: AdvertisingDataScope.() -> Unit, val scanResponse: AdvertisingDataScope.() -> Unit? = null) : BluetoothLeAdvertiser.Payload

Advertising payload for Bluetooth LE advertising.

This represents the data to be advertised in the Advertising Data as well as the Scan Response data.

Constructors

Link copied to clipboard
constructor(advertisingData: AdvertisingDataScope.() -> Unit, scanResponse: AdvertisingDataScope.() -> Unit? = null)

Properties

Link copied to clipboard

Advertising Data builder.

Link copied to clipboard

An optional builder for the Scan Response.