RadioSessionAuthority
Owns admission and revocation for work bound to one radio session.
Inheritors
Properties
Functions
Link copied to clipboard
Whether session still owns admission; false once teardown starts, while activeSession still holds it.
Link copied to clipboard
suspend fun RadioSessionAuthority.runInSession(session: RadioSessionContext, block: suspend () -> Unit): Boolean
Link copied to clipboard
The scope session's work runs in while it owns admission, else null. Teardown cancels this scope and joins its children before activeSession clears or a replacement session is admitted; a child that needs to finish (a persistence unit) runs its body under NonCancellable.