java.lang.Object | ||
↳ | android.telecom.Conferenceable | |
↳ | android.telecom.Conference |
Represents a conference call which can contain any number of Connection
objects.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
long | CONNECT_TIME_NOT_SPECIFIED | Used to indicate that the conference connection time is not specified. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new Conference with a mandatory
PhoneAccountHandle
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds the specified connection as a child of this conference.
| |||||||||||
Tears down the conference object and any of its current connections.
| |||||||||||
Returns the connections with which this connection can be conferenced.
| |||||||||||
Returns the capabilities of the conference.
| |||||||||||
Retrieves the connection start time of the
Conference , if specified.
| |||||||||||
Returns the list of connections currently associated with the conference call.
| |||||||||||
Returns the
PhoneAccountHandle the conference call is being placed through.
| |||||||||||
Gets the state of the conference call.
| |||||||||||
Returns VideoProvider of the primary call.
| |||||||||||
Returns video state of the primary call.
| |||||||||||
Notifies this conference that the
getCallAudioState() property has a new value.
| |||||||||||
Notifies this conference that a connection has been added to it.
| |||||||||||
Invoked when the Conference and all it's
Connection s should be disconnected.
| |||||||||||
Invoked when the conference should be put on hold.
| |||||||||||
Invoked when the child calls should be merged.
| |||||||||||
Invoked when the specified
Connection should merged with the conference call.
| |||||||||||
Notifies this conference of a request to play a DTMF tone.
| |||||||||||
Invoked when the specified
Connection should be separated from the conference call.
| |||||||||||
Notifies this conference of a request to stop any currently playing DTMF tones.
| |||||||||||
Invoked when the child calls should be swapped.
| |||||||||||
Invoked when the conference should be moved from hold to active.
| |||||||||||
Removes the specified connection as a child of this conference.
| |||||||||||
Sets state to be active.
| |||||||||||
Sets the connections with which this connection can be conferenced.
| |||||||||||
Sets the capabilities of a conference.
| |||||||||||
Sets the connection start time of the
Conference .
| |||||||||||
Sets state to be dialing.
| |||||||||||
Sets state to disconnected.
| |||||||||||
Set some extras that can be associated with this
Conference .
| |||||||||||
Sets state to be on hold.
| |||||||||||
Sets the label and icon status to display in the InCall UI.
| |||||||||||
Sets the video connection provider.
| |||||||||||
Set the video state for the conference.
| |||||||||||
Returns a string containing a concise, human-readable description of this
object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Used to indicate that the conference connection time is not specified. If not specified, Telecom will set the connect time.
Constructs a new Conference with a mandatory PhoneAccountHandle
phoneAccount | The PhoneAccountHandle associated with the conference.
|
---|
Adds the specified connection as a child of this conference.
connection | The connection to add. |
---|
Tears down the conference object and any of its current connections.
null
if this Conference
does not directly know about its audio state.
Returns the connections with which this connection can be conferenced.
Returns the capabilities of the conference. See CAPABILITY_*
constants in class
Connection
for valid values.
Retrieves the connection start time of the Conference
, if specified. A value of
CONNECT_TIME_NOT_SPECIFIED
indicates that Telecom should determine the start time
of the conference.
Conference
was connected.
Returns the list of connections currently associated with the conference call.
Connection
objects which represent the children of the conference.
DisconnectCause
for this connection.
Returns the PhoneAccountHandle
the conference call is being placed through.
PhoneAccountHandle
object representing the PhoneAccount of the conference.
Gets the state of the conference call. See Connection
for valid values.
Returns VideoProvider of the primary call. This can be null.
Notifies this conference that the getCallAudioState()
property has a new value.
state | The new call audio state. |
---|
Notifies this conference that a connection has been added to it.
connection | The newly added connection. |
---|
Invoked when the Conference and all it's Connection
s should be disconnected.
Invoked when the child calls should be merged. Only invoked if the conference contains the
capability CAPABILITY_MERGE_CONFERENCE
.
Invoked when the specified Connection
should merged with the conference call.
connection | The Connection to merge.
|
---|
Notifies this conference of a request to play a DTMF tone.
c | A DTMF character. |
---|
Invoked when the specified Connection
should be separated from the conference call.
connection | The connection to separate. |
---|
Notifies this conference of a request to stop any currently playing DTMF tones.
Invoked when the child calls should be swapped. Only invoked if the conference contains the
capability CAPABILITY_SWAP_CONFERENCE
.
Invoked when the conference should be moved from hold to active.
Removes the specified connection as a child of this conference.
connection | The connection to remove. |
---|
Sets the connections with which this connection can be conferenced.
conferenceableConnections | The set of connections this connection can conference with. |
---|
Sets the capabilities of a conference. See CAPABILITY_*
constants of class
Connection
for valid values.
connectionCapabilities | A bitmask of the PhoneCapabilities of the conference call.
|
---|
Sets the connection start time of the Conference
.
connectionTimeMillis | The connection time, in milliseconds. |
---|
Sets state to disconnected.
disconnectCause | The reason for the disconnection, as described by
DisconnectCause .
|
---|
Set some extras that can be associated with this Conference
. No assumptions should
be made as to how an In-Call UI or service will handle these extras.
Keys should be fully qualified (e.g., com.example.MY_EXTRA) to avoid conflicts.
extras | The extras associated with this Connection .
|
---|
Sets the label and icon status to display in the InCall UI.
statusHints | The status label and icon to set. |
---|
Sets the video connection provider.
videoProvider | The video provider. |
---|
Set the video state for the conference.
Valid values: STATE_AUDIO_ONLY
,
STATE_BIDIRECTIONAL
,
STATE_TX_ENABLED
,
STATE_RX_ENABLED
.
videoState | The new video state. |
---|
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString
method
if you intend implementing your own toString
method.