RemoteConference.Callback

public static abstract class RemoteConference.Callback
extends Object

java.lang.Object
   ↳ android.telecom.RemoteConference.Callback


Callback base class for RemoteConference.

Summary

Public constructors

RemoteConference.Callback()

Public methods

void onConferenceableConnectionsChanged(RemoteConference conference, List<RemoteConnection> conferenceableConnections)

Invoked when the set of RemoteConnections which can be added to this conference call have changed.

void onConnectionAdded(RemoteConference conference, RemoteConnection connection)

Invoked when a RemoteConnection is added to the conference call.

void onConnectionCapabilitiesChanged(RemoteConference conference, int connectionCapabilities)

Indicates that the call capabilities of this RemoteConference have changed.

void onConnectionPropertiesChanged(RemoteConference conference, int connectionProperties)

Indicates that the call properties of this RemoteConference have changed.

void onConnectionRemoved(RemoteConference conference, RemoteConnection connection)

Invoked when a RemoteConnection is removed from the conference call.

void onDestroyed(RemoteConference conference)

Indicates that this RemoteConference has been destroyed.

void onDisconnected(RemoteConference conference, DisconnectCause disconnectCause)

Invoked when this RemoteConference is disconnected.

void onExtrasChanged(RemoteConference conference, Bundle extras)

Handles changes to the RemoteConference extras.

void onStateChanged(RemoteConference conference, int oldState, int newState)

Invoked when the state of this RemoteConferece has changed.

Inherited methods

Public constructors

RemoteConference.Callback

added in API level 23
RemoteConference.Callback ()

Public methods

onConferenceableConnectionsChanged

added in API level 23
void onConferenceableConnectionsChanged (RemoteConference conference, 
                List<RemoteConnection> conferenceableConnections)

Invoked when the set of RemoteConnections which can be added to this conference call have changed.

Parameters
conference RemoteConference: The RemoteConference invoking this method.

conferenceableConnections List: The list of conferenceable RemoteConnections.

onConnectionAdded

added in API level 23
void onConnectionAdded (RemoteConference conference, 
                RemoteConnection connection)

Invoked when a RemoteConnection is added to the conference call.

Parameters
conference RemoteConference: The RemoteConference invoking this method.

connection RemoteConnection: The RemoteConnection being added.

onConnectionCapabilitiesChanged

added in API level 23
void onConnectionCapabilitiesChanged (RemoteConference conference, 
                int connectionCapabilities)

Indicates that the call capabilities of this RemoteConference have changed. See getConnectionCapabilities().

Parameters
conference RemoteConference: The RemoteConference invoking this method.

connectionCapabilities int: The new capabilities of the RemoteConference.

onConnectionPropertiesChanged

added in API level 25
void onConnectionPropertiesChanged (RemoteConference conference, 
                int connectionProperties)

Indicates that the call properties of this RemoteConference have changed. See getConnectionProperties().

Parameters
conference RemoteConference: The RemoteConference invoking this method.

connectionProperties int: The new properties of the RemoteConference.

onConnectionRemoved

added in API level 23
void onConnectionRemoved (RemoteConference conference, 
                RemoteConnection connection)

Invoked when a RemoteConnection is removed from the conference call.

Parameters
conference RemoteConference: The RemoteConference invoking this method.

connection RemoteConnection: The RemoteConnection being removed.

onDestroyed

added in API level 23
void onDestroyed (RemoteConference conference)

Indicates that this RemoteConference has been destroyed. No further requests should be made to the RemoteConference, and references to it should be cleared.

Parameters
conference RemoteConference: The RemoteConference invoking this method.

onDisconnected

added in API level 23
void onDisconnected (RemoteConference conference, 
                DisconnectCause disconnectCause)

Invoked when this RemoteConference is disconnected.

Parameters
conference RemoteConference: The RemoteConference invoking this method.

disconnectCause DisconnectCause: The () associated with this failed conference.

onExtrasChanged

added in API level 23
void onExtrasChanged (RemoteConference conference, 
                Bundle extras)

Handles changes to the RemoteConference extras.

Parameters
conference RemoteConference: The RemoteConference invoking this method.

extras Bundle: The extras containing other information associated with the conference.

This value may be null.

onStateChanged

added in API level 23
void onStateChanged (RemoteConference conference, 
                int oldState, 
                int newState)

Invoked when the state of this RemoteConferece has changed. See getState().

Parameters
conference RemoteConference: The RemoteConference invoking this method.

oldState int: The previous state of the RemoteConference.

newState int: The new state of the RemoteConference.