BleAdvertisingData

data class BleAdvertisingData(val serviceUuid: ParcelUuid? = null, val includeDeviceName: Boolean? = null, val includeTxPowerLever: Boolean? = null, val manufacturerData: List<ManufacturerData> = emptyList(), val serviceData: List<ServiceData> = emptyList(), val serviceSolicitationUuid: ParcelUuid? = null)

Advertise data packet container for Bluetooth LE advertising. This represents the data to be advertised as well as the scan response data for active scans.

See also

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

Constructors

Link copied to clipboard
constructor(serviceUuid: ParcelUuid? = null, includeDeviceName: Boolean? = null, includeTxPowerLever: Boolean? = null, manufacturerData: List<ManufacturerData> = emptyList(), serviceData: List<ServiceData> = emptyList(), serviceSolicitationUuid: ParcelUuid? = null)

Properties

Link copied to clipboard

Whether the device name should be included in advertise packet.

Link copied to clipboard

Whether the transmission power level should be included in the advertise packet.

Link copied to clipboard

Manufacturer specific data (ManufacturerData).

Link copied to clipboard

Service data (ServiceData) to advertise data.

Link copied to clipboard

Service solicitation UUID to advertise data.

Link copied to clipboard
val serviceUuid: ParcelUuid? = null

A service UUID to advertise data.