requestConnectionPriority

abstract suspend fun requestConnectionPriority(priority: ConnectionPriority): Boolean

Requests the connection priority to be changed.

The result should be reported by emitting ConnectionParametersChanged event to events flow.

Return

True if connection priority was requested successfully; false otherwise.

Parameters

priority

The new connection priority.

Throws

If BLUETOOTH_CONNECT permission is denied.