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

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

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.