Package-level declarations

This library contains data representation of calls information and status of synchronization with Bluetooth devices.

The Call and CallState classes define the data belonging to a call.

The PhoneBookSynchronizationStatus enum class contains the different status of synchronization with Bluetooth devices.

Types

Link copied to clipboard
data class Call(val id: CallId, val state: CallState, val capabilities: EnumSet<CallCapability>, val creationTime: Instant, val activationTime: Instant?, val phoneNumber: String, val displayName: String, val disconnectedCause: DisconnectCause?, val phoneAccountId: String) : Parcelable

Represents a phone call.

Link copied to clipboard

The possible capabilities for a Call.

Link copied to clipboard
data class CallId(val value: Long) : Parcelable

Represents an identifier that uniquely identifies a call.

Link copied to clipboard

The possible call states.

Link copied to clipboard

The possible DTMF tones.

Link copied to clipboard

Status of synchronization with Bluetooth devices.

Link copied to clipboard
data class PhoneUri(val uri: Uri) : Parcelable

Represents a phone URI.

Link copied to clipboard
data class SipUri(val uri: Uri) : Parcelable

Represents a SIP URI.

Properties

Link copied to clipboard
Link copied to clipboard

Indicates if a Call has the capability to be put on hold, which happens when the Call.capabilities have the CallCapability.HOLD.

Link copied to clipboard

Indicates if a Call can be hanged up, which happens when the Call is in the CallState.ACTIVE, CallState.DIALING, CallState.CONNECTING, CallState.ANSWERING or CallState.HOLDING state.

Link copied to clipboard

Indicates if a Call can be muted, which happens when the Call is in the CallState.ACTIVE or CallState.HOLDING state.

Link copied to clipboard

Indicates if a Call has the capability to be muted, which happens when the Call.capabilities have the CallCapability.MUTE.

Link copied to clipboard

Indicates if a Call is in progress, which happens when the Call either isOngoing or isOnHold.

Link copied to clipboard

Indicates if a Call is currently ongoing, which happens when the Call is in the CallState.ACTIVE, CallState.DIALING, CallState.CONNECTING or CallState.ANSWERING state.

Link copied to clipboard

Indicates if a Call is currently on hold, which happens when the Call is in the CallState.HOLDING state.

Link copied to clipboard

Indicates if a Call is currently ringing, which happens when the Call is in the CallState.RINGING state.