AdvertisementData

Android implementation of BaseAdvertisementData

Parameters

scanResult

the ScanResult being advertised

iOS implementation of BaseAdvertisementData

Parameters

advertisementData

a map containing the data being advertised

Platform specific implementation of BaseAdvertisementData

BaseAdvertisementData for the JS family. The requestDevice picker exposes only the device name; RSSI, manufacturer/service data and tx power are not available on the web.

Constructors

Link copied to clipboard
constructor(scanResult: ScanResult?)
constructor(advertisementData: Map<String, Any>)
constructor(name: String?, serviceUUIDs: List<UUID> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
actual open override val isConnectable: Boolean

If true the Device can be connected to

actual open override val isConnectable: Boolean

If true the Device can be connected to

expect open override val isConnectable: Boolean

If true the Device can be connected to

actual open override val isConnectable: Boolean = true

If true the Device can be connected to

Link copied to clipboard
actual open override val manufacturerData: ByteArray?

The manufacturer specific data of the Bluetooth device

actual open override val manufacturerData: ByteArray?

The manufacturer specific data of the Bluetooth device

expect open override val manufacturerData: ByteArray?

The manufacturer specific data of the Bluetooth device

actual open override val manufacturerData: ByteArray? = null

The manufacturer specific data of the Bluetooth device

Link copied to clipboard
actual open override val manufacturerId: Int?

The identifier of the manufacturer of the Bluetooth device

actual open override val manufacturerId: Int?

The identifier of the manufacturer of the Bluetooth device

expect open override val manufacturerId: Int?

The identifier of the manufacturer of the Bluetooth device

actual open override val manufacturerId: Int? = null

The identifier of the manufacturer of the Bluetooth device

Link copied to clipboard
actual open override val name: String?

The name of the Bluetooth device.

actual open override val name: String?

The name of the Bluetooth device.

expect open override val name: String?

The name of the Bluetooth device.

actual open override val name: String?

The name of the Bluetooth device.

Link copied to clipboard
actual open override val serviceData: Map<UUID, ByteArray?>

A map of all the data of the services as advertised by the Bluetooth device

actual open override val serviceData: Map<UUID, ByteArray?>

A map of all the data of the services as advertised by the Bluetooth device

expect open override val serviceData: Map<UUID, ByteArray?>

A map of all the data of the services as advertised by the Bluetooth device

actual open override val serviceData: Map<UUID, ByteArray?>

A map of all the data of the services as advertised by the Bluetooth device

Link copied to clipboard
actual open override val serviceUUIDs: List<UUID>

The list of UUID of services advertised by the Bluetooth device

actual open override val serviceUUIDs: List<UUID>

The list of UUID of services advertised by the Bluetooth device

expect open override val serviceUUIDs: List<UUID>

The list of UUID of services advertised by the Bluetooth device

actual open override val serviceUUIDs: List<UUID>

The list of UUID of services advertised by the Bluetooth device

Link copied to clipboard
actual open override val txPowerLevel: TxPower

The TxPower of the packet

actual open override val txPowerLevel: TxPower

The TxPower of the packet

expect open override val txPowerLevel: TxPower

The TxPower of the packet

actual open override val txPowerLevel: TxPower

The TxPower of the packet