java.lang.Object | |
↳ | android.telecom.RemoteConference |
A conference provided to a ConnectionService
by another ConnectionService
through
conferenceRemoteConnections(RemoteConnection, RemoteConnection)
. Once created, a RemoteConference
can be used to control the conference call or monitor changes through
RemoteConnection.Callback
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RemoteConference.Callback |
Callback base class for RemoteConference .
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Disconnects the conference call as well as the child
RemoteConnection s.
| |||||||||||
Returns a list of independent connections that can me merged with this conference.
| |||||||||||
Returns the capabilities of the conference.
| |||||||||||
Returns the list of
RemoteConnection s contained in this conference.
| |||||||||||
Returns the
DisconnectCause for the conference if it is in the state
STATE_DISCONNECTED .
| |||||||||||
Obtain the extras associated with this
RemoteConnection .
| |||||||||||
Gets the state of the conference call.
| |||||||||||
Puts the conference on hold.
| |||||||||||
Merges all
RemoteConnection s of this conference into a single call.
| |||||||||||
Requests that the conference start playing the specified DTMF tone.
| |||||||||||
Registers a callback through which to receive state updates for this conference.
| |||||||||||
Register a callback through which to receive state updates for this conference.
| |||||||||||
Removes the specified
RemoteConnection from the conference.
| |||||||||||
Request to change the conference's audio routing to the specified state.
| |||||||||||
Stops the most recent request to play a DTMF tone.
| |||||||||||
Swaps the active audio stream between the conference's child
RemoteConnection s.
| |||||||||||
Unholds the conference call.
| |||||||||||
Unregisters a previously registered callback.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Disconnects the conference call as well as the child RemoteConnection
s.
Returns a list of independent connections that can me merged with this conference.
Returns the capabilities of the conference. See CAPABILITY_*
constants in class
Connection
for valid values.
Returns the list of RemoteConnection
s contained in this conference.
Returns the DisconnectCause
for the conference if it is in the state
STATE_DISCONNECTED
. If the conference is not disconnected, this will
return null.
Obtain the extras associated with this RemoteConnection
.
Gets the state of the conference call. See Connection
for valid values.
Merges all RemoteConnection
s of this conference into a single call. This should be
invoked only if the conference contains the capability
CAPABILITY_MERGE_CONFERENCE
, otherwise it is a no-op. The presence of said
capability indicates that the connections of this conference, despite being part of the
same conference object, are yet to have their audio streams merged; this is a common pattern
for CDMA conference calls, but the capability is not used for GSM and SIP conference calls.
Invoking this method will cause the unmerged child connections to merge their audio
streams.
Requests that the conference start playing the specified DTMF tone.
digit | The digit for which to play a DTMF tone. |
---|
Registers a callback through which to receive state updates for this conference. Callbacks will be notified using the specified handler, if provided.
callback | The callback to notify of state changes. |
---|---|
handler | The handler on which to execute the callbacks. |
Register a callback through which to receive state updates for this conference.
callback | The callback to notify of state changes. |
---|
Removes the specified RemoteConnection
from the conference. This causes the
RemoteConnection
to become a standalone connection. This is a no-op if the
RemoteConnection
does not belong to this conference.
connection | The remote-connection to remove. |
---|
Request to change the conference's audio routing to the specified state. The specified state can include audio routing (Bluetooth, Speaker, etc) and muting state.
Stops the most recent request to play a DTMF tone.
Swaps the active audio stream between the conference's child RemoteConnection
s.
This should be invoked only if the conference contains the capability
CAPABILITY_SWAP_CONFERENCE
, otherwise it is a no-op. This is only used by
ConnectionService
s that create conferences for connections that do not yet have
their audio streams merged; this is a common pattern for CDMA conference calls, but the
capability is not used for GSM and SIP conference calls. Invoking this method will change the
active audio stream to a different child connection.
Unregisters a previously registered callback.
callback | The callback to unregister. |
---|