OnAdvertisingEnabled

data class OnAdvertisingEnabled(val advertisingSet: AdvertisingSet, val enable: Boolean, val status: BleAdvertisingStatus) : BleAdvertisingEvent

Event emitted in response to BluetoothLeAdvertiser.startAdvertisingSet indicating result of the operation. If status is BleAdvertisingStatus.ADVERTISE_SUCCESS, then advertising set is advertising.

See also

(https://developer.android.com/reference/android/bluetooth/le/AdvertisingSetCallback#onAdvertisingEnabled(android.bluetooth.le.AdvertisingSet,%20boolean,%20int))

Constructors

Link copied to clipboard
constructor(advertisingSet: AdvertisingSet, enable: Boolean, status: BleAdvertisingStatus)

Properties

Link copied to clipboard

The advertising set.

Link copied to clipboard

Is advertising enabled.

Link copied to clipboard

Status of the operation.