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

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

Callback

public Callback ()

Public methods

onConferenceableConnectionsChanged

Added in API level 23
public 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
public 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
public void onConnectionCapabilitiesChanged (RemoteConference conference, 
                int connectionCapabilities)

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

Parameters
conference RemoteConference: The RemoteConference invoking this method.

connectionCapabilities int: The new capabilities of the RemoteConference.

onConnectionPropertiesChanged

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

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

Parameters
conference RemoteConference: The RemoteConference invoking this method.

connectionProperties int: The new properties of the RemoteConference.

onConnectionRemoved

Added in API level 23
public 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
public 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
public 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
public 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
public void onStateChanged (RemoteConference conference, 
                int oldState, 
                int newState)

Invoked when the state of this RemoteConferece has changed. See RemoteConference.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.