TelecomCall

sealed class TelecomCall

Custom representation of a call state in the Android Telecom Manager.

Inheritors

Types

Link copied to clipboard
data object None : TelecomCall

There is no current or past calls in the stack.

Link copied to clipboard
data class Registered(    val id: ParcelUuid,     val callAttributes: CallAttributesCompat,     val isActive: Boolean,     val isOnHold: Boolean,     val isMuted: Boolean,     val availableCallEndpoints: List<CallEndpointCompat>,     actionSource: Channel<TelecomCallAction>,     val currentCallEndpoint: CallEndpointCompat? = null,     val error: AxpSdkError? = null,     val call: Call? = null) : TelecomCall

Represents a registered call with the telecom stack with the values provided by the Telecom SDK.

Link copied to clipboard
data class Unregistered(val id: ParcelUuid, val callAttributes: CallAttributesCompat, val disconnectCause: DisconnectCause) : TelecomCall

Represents a previously registered call that was disconnected.