共用方式為


Android.Telecom Namespace

Classes

Call

Represents an ongoing phone call that the in-call app should present to the user.

Call.Callback

Defines callbacks which inform the InCallService of changes to a Call.

Call.Details
Call.RttCall

A class that holds the state that describes the state of the RTT channel to the remote party, if it is active.

CallAttributes

CallAttributes represents a set of properties that define a new Call.

CallAttributes.Builder

Build an instance of CallAttributes.

CallAttributes.InterfaceConsts
CallAudioState

Encapsulates the telecom audio state, including the current audio routing, supported audio routing and mute.

CallAudioState.InterfaceConsts
CallControl

CallControl provides client side control of a call.

CallEndpoint

Encapsulates the endpoint where call media can flow

CallEndpoint.InterfaceConsts
CallEndpointException

This class represents a set of exceptions that can occur when requesting a CallEndpoint change.

CallEndpointException.InterfaceConsts
CallException

This class defines exceptions that can be thrown when using Telecom APIs with android.os.OutcomeReceivers.

CallException.InterfaceConsts
CallRedirectionService

This service can be implemented to interact between Telecom and its implementor for making outgoing call with optional redirection/cancellation purposes.

CallScreeningService

This service can be implemented by the default dialer (see TelecomManager#getDefaultDialerPackage()) or a third party app to allow or disallow incoming calls before they are shown to a user.

CallScreeningService.CallResponse

Information about how to respond to an incoming call.

CallScreeningService.CallResponse.Builder
Conference

Represents a conference call which can contain any number of Connection objects.

Conferenceable

Interface used to identify entities with which another entity can participate in a conference call with.

Connection

Represents a phone call or connection to a remote endpoint that carries voice and/or video traffic.

Connection.RttModifyStatus

Provides constants to represent the results of responses to session modify requests sent via Call#sendRttRequest()

Connection.RttTextStream

Provides methods to read and write RTT data to/from the in-call app.

Connection.VideoProvider

Provides a means of controlling the video session associated with a Connection.

ConnectionRequest

Simple data container encapsulating a request to some entity to create a new Connection.

ConnectionRequest.InterfaceConsts
ConnectionService

An abstract service that should be implemented by any apps which either: <ol> <li>Can make phone calls (VoIP or otherwise) and want those calls to be integrated into the built-in phone app.

DisconnectCause

Describes the cause of a disconnected call.

DisconnectCause.InterfaceConsts
GatewayInfo

Encapsulated gateway address information for outgoing call.

GatewayInfo.InterfaceConsts
InCallService

This service is implemented by an app that wishes to provide functionality for managing phone calls.

InCallService.VideoCall

Used to issue commands to the Connection.VideoProvider associated with a Call.

InCallService.VideoCall.Callback
PhoneAccount

Represents a distinct method to place or receive a phone call.

PhoneAccount.Builder

Helper class for creating a PhoneAccount.

PhoneAccount.InterfaceConsts
PhoneAccountHandle

The unique identifier for a PhoneAccount.

PhoneAccountHandle.InterfaceConsts
PhoneAccountSuggestion
PhoneAccountSuggestion.InterfaceConsts
QueryLocationException

This class represents a set of exceptions that can occur when requesting a Connection#queryLocationForEmergency(long, String, Executor, OutcomeReceiver)

QueryLocationException.InterfaceConsts
RemoteConference

A conference provided to a ConnectionService by another ConnectionService through ConnectionService#conferenceRemoteConnections.

RemoteConference.Callback

Callback base class for RemoteConference.

RemoteConnection

A connection provided to a ConnectionService by another ConnectionService running in a different process.

RemoteConnection.Callback

Callback base class for RemoteConnection.

RemoteConnection.VideoProvider

RemoteConnection.VideoProvider associated with a RemoteConnection.

RemoteConnection.VideoProvider.Callback
StatusHints

Contains status label and icon displayed in the in-call UI.

StatusHints.InterfaceConsts
TelecomManager

Provides access to information about active calls and registration/call-management functionality.

VideoProfile

Represents attributes of video calls.

VideoProfile.CameraCapabilities

Represents the camera capabilities important to a Video Telephony provider.

VideoProfile.CameraCapabilities.InterfaceConsts
VideoProfile.InterfaceConsts

Interfaces

ICallControlCallback

CallControlCallback relays call updates (that require a response) from the Telecom framework out to the application.

ICallEventCallback

CallEventCallback relays call updates (that do not require any action) from the Telecom framework out to the application.

Enums

CallAttributesDirection
CallAudioRoute
CallCapabilities
CallCapability
CallComposerAttachment
CallDirection
CallEndpointErrorReason
CallEndpointType
CallExceptionErrorCode
CallProperty
CallRejectReason
CallState
CallType
Causes
ConnectionAudioCodec
ConnectionCapability
ConnectionProperties
ConnectionState
ConnectionVerificationStatusType
Duration
HandoverFailureReason
ModifyRequestResult
PhoneAccountCapability
Presentation

Enumerates values returned by several methods of Presentation.

Priority
QueryLocationErrorReason
ReasonType
RttMode
RttSessionModifyResult
VideoProfileState
VideoQuality
VideoSessionEvent