Kotlin BLE Library
Toggle table of contents
2.0.0-alpha16
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Kotlin BLE Library
client-core
/
no.nordicsemi.kotlin.ble.client
/
Peripheral
/
awaitDisconnection
await
Disconnection
@
IgnorableReturnValue
suspend
fun
awaitDisconnection
(
)
:
ConnectionState.Disconnected.Reason
?
Suspends until the peripheral is disconnected.
Throws
Cancellation
Exception
if the current coroutine is canceled.