advertisements

abstract val advertisements: Flow<T>

Bluetooth.availability flow should emit Available before collecting from advertisements flow.

Throws

If scanning could not be initiated (e.g. feature unavailable or permission denied).

If a transient state was not satisfied (e.g. bluetooth disabled).