RemoteConnection.Callback
public
static
abstract
class
RemoteConnection.Callback
extends Object
| java.lang.Object | |
| ↳ | android.telecom.RemoteConnection.Callback |
Callback base class for RemoteConnection.
Summary
Public constructors | |
|---|---|
RemoteConnection.Callback()
|
|
Public methods | |
|---|---|
void
|
onAddressChanged(RemoteConnection connection, Uri address, int presentation)
Indicates that the address (e.g., phone number) of this |
void
|
onCallerDisplayNameChanged(RemoteConnection connection, String callerDisplayName, int presentation)
Indicates that the caller display name of this |
void
|
onConferenceChanged(RemoteConnection connection, RemoteConference conference)
Indicates that the |
void
|
onConferenceableConnectionsChanged(RemoteConnection connection, List<RemoteConnection> conferenceableConnections)
Indicates that the |
void
|
onConnectionCapabilitiesChanged(RemoteConnection connection, int connectionCapabilities)
Indicates that the call capabilities of this |
void
|
onConnectionEvent(RemoteConnection connection, String event, Bundle extras)
Handles a connection event propagated to this |
void
|
onConnectionPropertiesChanged(RemoteConnection connection, int connectionProperties)
Indicates that the call properties of this |
void
|
onDestroyed(RemoteConnection connection)
Indicates that this |
void
|
onDisconnected(RemoteConnection connection, DisconnectCause disconnectCause)
Invoked when this |
void
|
onExtrasChanged(RemoteConnection connection, Bundle extras)
Handles changes to the |
void
|
onPostDialChar(RemoteConnection connection, char nextChar)
Invoked when the post-dial sequence in the outgoing |
void
|
onPostDialWait(RemoteConnection connection, String remainingPostDialSequence)
Invoked when the post-dial sequence in the outgoing |
void
|
onRingbackRequested(RemoteConnection connection, boolean ringback)
Invoked when this |
void
|
onStateChanged(RemoteConnection connection, int state)
Invoked when the state of this |
void
|
onStatusHintsChanged(RemoteConnection connection, StatusHints statusHints)
Indicates that the status hints of this |
void
|
onVideoProviderChanged(RemoteConnection connection, RemoteConnection.VideoProvider videoProvider)
Indicates that the |
void
|
onVideoStateChanged(RemoteConnection connection, int videoState)
Indicates that the video state of this |
void
|
onVoipAudioChanged(RemoteConnection connection, boolean isVoip)
Indicates that the VOIP audio status of this |
Inherited methods | |
|---|---|
From
class
java.lang.Object
| |
Public constructors
Public methods
onAddressChanged
void onAddressChanged (RemoteConnection connection, Uri address, int presentation)
Indicates that the address (e.g., phone number) of this RemoteConnection has
changed. See getAddress() and getAddressPresentation().
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
address |
Uri: The new address of the RemoteConnection. |
presentation |
int: The presentation requirements for the address.
See TelecomManager for valid values.
|
onCallerDisplayNameChanged
void onCallerDisplayNameChanged (RemoteConnection connection, String callerDisplayName, int presentation)
Indicates that the caller display name of this RemoteConnection has changed.
See getCallerDisplayName() and getCallerDisplayNamePresentation().
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
callerDisplayName |
String: The new caller display name of the RemoteConnection. |
presentation |
int: The presentation requirements for the handle.
See TelecomManager for valid values.
|
onConferenceChanged
void onConferenceChanged (RemoteConnection connection, RemoteConference conference)
Indicates that the RemoteConference that this RemoteConnection is a part
of has changed.
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
conference |
RemoteConference: The RemoteConference of which this RemoteConnection is
a part, which may be null.
|
onConferenceableConnectionsChanged
void onConferenceableConnectionsChanged (RemoteConnection connection, List<RemoteConnection> conferenceableConnections)
Indicates that the RemoteConnections with which this RemoteConnection
may be asked to create a conference has changed.
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
conferenceableConnections |
List: The RemoteConnections with which this
RemoteConnection may be asked to create a conference.
|
onConnectionCapabilitiesChanged
void onConnectionCapabilitiesChanged (RemoteConnection connection, int connectionCapabilities)
Indicates that the call capabilities of this RemoteConnection have changed.
See getConnectionCapabilities().
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
connectionCapabilities |
int: The new capabilities of the RemoteConnection.
|
onConnectionEvent
void onConnectionEvent (RemoteConnection connection, String event, Bundle extras)
Handles a connection event propagated to this RemoteConnection.
Connection events originate from sendConnectionEvent(String, Bundle).
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
event |
String: The connection event. |
extras |
Bundle: Extras associated with the event.
|
onConnectionPropertiesChanged
void onConnectionPropertiesChanged (RemoteConnection connection, int connectionProperties)
Indicates that the call properties of this RemoteConnection have changed.
See getConnectionProperties().
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
connectionProperties |
int: The new properties of the RemoteConnection.
|
onDestroyed
void onDestroyed (RemoteConnection connection)
Indicates that this RemoteConnection has been destroyed. No further requests
should be made to the RemoteConnection, and references to it should be cleared.
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method.
|
onDisconnected
void onDisconnected (RemoteConnection connection, DisconnectCause disconnectCause)
Invoked when this RemoteConnection is disconnected.
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
disconnectCause |
DisconnectCause: The () associated with this failed
connection.
|
onExtrasChanged
void onExtrasChanged (RemoteConnection connection, Bundle extras)
Handles changes to the RemoteConnection extras.
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
extras |
Bundle: The extras containing other information associated with the connection.
This value may be |
onPostDialChar
void onPostDialChar (RemoteConnection connection, char nextChar)
Invoked when the post-dial sequence in the outgoing Connection has processed
a character.
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
nextChar |
char: The character being processed.
|
onPostDialWait
void onPostDialWait (RemoteConnection connection, String remainingPostDialSequence)
Invoked when the post-dial sequence in the outgoing Connection has reached a
pause character. This causes the post-dial signals to stop pending user confirmation. An
implementation should present this choice to the user and invoke
postDialContinue(boolean) when the user makes the choice.
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
remainingPostDialSequence |
String: The post-dial characters that remain to be sent.
|
onRingbackRequested
void onRingbackRequested (RemoteConnection connection, boolean ringback)
Invoked when this RemoteConnection is requesting ringback. See
isRingbackRequested().
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
ringback |
boolean: Whether the RemoteConnection is requesting ringback.
|
onStateChanged
void onStateChanged (RemoteConnection connection, int state)
Invoked when the state of this RemoteConnection has changed. See
getState().
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
state |
int: The new state of the RemoteConnection.
|
onStatusHintsChanged
void onStatusHintsChanged (RemoteConnection connection, StatusHints statusHints)
Indicates that the status hints of this RemoteConnection have changed. See
getStatusHints() ()}.
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
statusHints |
StatusHints: The new status hints of the RemoteConnection.
|
onVideoProviderChanged
void onVideoProviderChanged (RemoteConnection connection, RemoteConnection.VideoProvider videoProvider)
Indicates that the VideoProvider associated with this RemoteConnection
has changed.
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
videoProvider |
RemoteConnection.VideoProvider: The new VideoProvider associated with this
RemoteConnection.
|
onVideoStateChanged
void onVideoStateChanged (RemoteConnection connection, int videoState)
Indicates that the video state of this RemoteConnection has changed.
See getVideoState().
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
videoState |
int: The new video state of the RemoteConnection.
|
onVoipAudioChanged
void onVoipAudioChanged (RemoteConnection connection, boolean isVoip)
Indicates that the VOIP audio status of this RemoteConnection has changed.
See isVoipAudioMode().
| Parameters | |
|---|---|
connection |
RemoteConnection: The RemoteConnection invoking this method. |
isVoip |
boolean: Whether the new audio state of the RemoteConnection is VOIP.
|
Classes
- Call
- Call.Callback
- Call.Details
- Call.RttCall
- CallAudioState
- CallScreeningService
- CallScreeningService.CallResponse
- CallScreeningService.CallResponse.Builder
- Conference
- Conferenceable
- Connection
- Connection.RttModifyStatus
- Connection.VideoProvider
- ConnectionRequest
- ConnectionService
- DisconnectCause
- GatewayInfo
- InCallService
- InCallService.VideoCall
- InCallService.VideoCall.Callback
- PhoneAccount
- PhoneAccount.Builder
- PhoneAccountHandle
- RemoteConference
- RemoteConference.Callback
- RemoteConnection
- RemoteConnection.Callback
- RemoteConnection.VideoProvider
- RemoteConnection.VideoProvider.Callback
- StatusHints
- TelecomManager
- VideoProfile
- VideoProfile.CameraCapabilities

