InCallServiceCompat
@RequiresApi(value = 26)
open class InCallServiceCompat : InCallService, LifecycleOwner, CallExtensions
| kotlin.Any | |||||
| ↳ | android.content.Context | ||||
| ↳ | android.content.ContextWrapper | ||||
| ↳ | android.app.Service | ||||
| ↳ | android.telecom.InCallService | ||||
| ↳ | androidx.core.telecom.InCallServiceCompat |
This class defines the Jetpack InCallService with the additional ability of defining a LifecycleOwner
Summary
Public constructors |
|---|
Public functions |
|
|---|---|
open suspend Unit |
@ExperimentalAppActionsConnects extensions to the provided |
open IBinder? |
|
open Unit |
|
open Unit |
|
open Unit |
This function is deprecated. Deprecated in Java |
open Int |
@CallSuper |
Public constructors
Public functions
connectExtensions
@ExperimentalAppActions
open suspend fun connectExtensions(call: Call, init: CallExtensionScope.() -> Unit): Unit
Connects extensions to the provided Call, allowing the call to support additional optional behaviors beyond the traditional call state management.
| Parameters | |
|---|---|
call: Call |
The Call to connect extensions on. |
init: CallExtensionScope.() -> Unit |
The scope used to initialize and manage extensions in the scope of the Call. |
| See also | |
|---|---|
connectExtensions |