| java.lang.Object | |
| ↳ | android.telecom.RemoteConnection |
A connection provided to a ConnectionService by another ConnectionService
running in a different process.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| RemoteConnection.Callback |
Callback base class for RemoteConnection.
|
||||||||||
| RemoteConnection.VideoProvider |
RemoteConnection.VideoProvider associated with a RemoteConnection.
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Instructs this
RemoteConnection to abort.
| |||||||||||
Instructs this
STATE_RINGING RemoteConnection to answer.
| |||||||||||
Instructs this
RemoteConnection to disconnect.
| |||||||||||
Obtains the address of this
RemoteConnection.
| |||||||||||
Obtains the presentation requirements for the address of this
RemoteConnection.
| |||||||||||
Obtains the display name for this
RemoteConnection's caller.
| |||||||||||
Obtains the presentation requirements for this
RemoteConnection's
caller's display name.
| |||||||||||
Obtain the
RemoteConference that this RemoteConnection may be a part
of, or null if there is no such RemoteConference.
| |||||||||||
Obtain the
RemoteConnections with which this RemoteConnection may be
successfully asked to create a conference with.
| |||||||||||
Obtains the capabilities of this
RemoteConnection.
| |||||||||||
Obtains the reason why this
RemoteConnection may have been disconnected.
| |||||||||||
Obtain the extras associated with this
RemoteConnection.
| |||||||||||
Obtains the state of this
RemoteConnection.
| |||||||||||
Obtains status hints pertaining to this
RemoteConnection.
| |||||||||||
Obtains the video provider of this
RemoteConnection.
| |||||||||||
Obtains the video state of this
RemoteConnection.
| |||||||||||
Instructs this
RemoteConnection to go on hold.
| |||||||||||
Determines whether this
RemoteConnection is requesting ringback.
| |||||||||||
Determines if the audio mode of this
RemoteConnection is VOIP.
| |||||||||||
Instructs this
RemoteConnection to play a dual-tone multi-frequency signaling
(DTMF) tone.
| |||||||||||
Instructs this
RemoteConnection to continue playing a post-dial DTMF string.
| |||||||||||
Adds a callback to this
RemoteConnection.
| |||||||||||
Adds a callback to this
RemoteConnection.
| |||||||||||
Instructs this
STATE_RINGING RemoteConnection to reject.
| |||||||||||
Set the audio state of this
RemoteConnection.
| |||||||||||
Instructs this
RemoteConnection to stop any dual-tone multi-frequency signaling
(DTMF) tone currently playing.
| |||||||||||
Instructs this
STATE_HOLDING call to release from hold.
| |||||||||||
Removes a callback from this
RemoteConnection.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Instructs this STATE_RINGING RemoteConnection to answer.
Obtains the address of this RemoteConnection.
RemoteConnection
is currently connected.
Obtains the presentation requirements for the address of this RemoteConnection.
TelecomManager for valid values.
Obtains the display name for this RemoteConnection's caller.
Obtains the presentation requirements for this RemoteConnection's
caller's display name.
TelecomManager for valid values.
Obtain the RemoteConference that this RemoteConnection may be a part
of, or null if there is no such RemoteConference.
RemoteConference or null;
Obtain the RemoteConnections with which this RemoteConnection may be
successfully asked to create a conference with.
RemoteConnections with which this RemoteConnection may be
merged into a RemoteConference.
Obtains the capabilities of this RemoteConnection.
RemoteConnection, as defined in
the CAPABILITY_* constants in class Connection.
Obtains the reason why this RemoteConnection may have been disconnected.
STATE_DISCONNECTED RemoteConnection, the
disconnect cause expressed as a code chosen from among those declared in
DisconnectCause.
Obtain the extras associated with this RemoteConnection.
Obtains the state of this RemoteConnection.
STATE_* constants.
Obtains status hints pertaining to this RemoteConnection.
StatusHints of this RemoteConnection,
or null if none have been set.
Obtains the video provider of this RemoteConnection.
RemoteConnection.
Obtains the video state of this RemoteConnection.
RemoteConnection. See VideoProfile.
Determines whether this RemoteConnection is requesting ringback.
RemoteConnection is requesting that the framework play a
ringback tone on its behalf.
Determines if the audio mode of this RemoteConnection is VOIP.
true if the RemoteConnection's current audio mode is VOIP.
Instructs this RemoteConnection to play a dual-tone multi-frequency signaling
(DTMF) tone.
Any other currently playing DTMF tone in the specified call is immediately stopped.
| digit | A character representing the DTMF digit for which to play the tone. This
value must be one of '0' through '9', '*' or '#'.
|
|---|
Instructs this RemoteConnection to continue playing a post-dial DTMF string.
A post-dial DTMF string is a string of digits following the first instance of either
DTMF_CHARACTER_WAIT or DTMF_CHARACTER_PAUSE.
These digits are immediately sent as DTMF tones to the recipient as soon as the
connection is made.
If the DTMF string contains a DTMF_CHARACTER_PAUSE symbol, this
RemoteConnection will temporarily pause playing the tones for a pre-defined period
of time.
If the DTMF string contains a DTMF_CHARACTER_WAIT symbol, this
RemoteConnection will pause playing the tones and notify callbacks via
onPostDialWait(RemoteConnection, String). At this point, the in-call app
should display to the user an indication of this state and an affordance to continue
the postdial sequence. When the user decides to continue the postdial sequence, the in-call
app should invoke the postDialContinue(boolean) method.
| proceed | Whether or not to continue with the post-dial sequence. |
|---|
Adds a callback to this RemoteConnection.
| callback | A Callback. |
|---|---|
| handler | A Handler which command and status changes will be delivered to.
|
Adds a callback to this RemoteConnection.
| callback | A Callback.
|
|---|
Instructs this STATE_RINGING RemoteConnection to reject.
Set the audio state of this RemoteConnection.
| state | The audio state of this RemoteConnection.
|
|---|
Instructs this RemoteConnection to stop any dual-tone multi-frequency signaling
(DTMF) tone currently playing.
DTMF tones are played by calling playDtmfTone(char). If no DTMF tone is
currently playing, this method will do nothing.
Removes a callback from this RemoteConnection.
| callback | A Callback.
|
|---|