Most visited

Recently visited

Added in API level 23

RemoteConference.Callback

public static abstract class RemoteConference.Callback
extends Object

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


回调基类为 RemoteConference

Summary

Public constructors

RemoteConference.Callback()

Public methods

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

当可以添加到此电话会议中的一组 RemoteConnection已更改时调用。

void onConnectionAdded(RemoteConference conference, RemoteConnection connection)

RemoteConnection被添加到电话会议中时调用。

void onConnectionCapabilitiesChanged(RemoteConference conference, int connectionCapabilities)

表示此 RemoteConference的呼叫功能已更改。

void onConnectionRemoved(RemoteConference conference, RemoteConnection connection)

从电话会议中删除 RemoteConnection时调用。

void onDestroyed(RemoteConference conference)

表示这 RemoteConference已被销毁。

void onDisconnected(RemoteConference conference, DisconnectCause disconnectCause)

在此 RemoteConference断开连接时调用。

void onExtrasChanged(RemoteConference conference, Bundle extras)

处理更改为 RemoteConference临时演员。

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

在此 RemoteConferece的状态发生变化时调用。

Inherited methods

From class java.lang.Object

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)

当可以添加到此电话会议的一组 RemoteConnection已更改时调用。

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)

在会议呼叫中添加 RemoteConnection时调用。

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)

表示此RemoteConference的呼叫功能已更改。 getConnectionCapabilities()

Parameters
conference RemoteConference: The RemoteConference invoking this method.
connectionCapabilities int: The new capabilities of the RemoteConference.

onConnectionRemoved

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

从电话会议中删除 RemoteConnection时调用。

Parameters
conference RemoteConference: The RemoteConference invoking this method.
connection RemoteConnection: The RemoteConnection being removed.

onDestroyed

Added in API level 23
void onDestroyed (RemoteConference conference)

表示这RemoteConference已被销毁。 不应RemoteConference提出要求,并且应该清除它的引用。

Parameters
conference RemoteConference: The RemoteConference invoking this method.

onDisconnected

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

在此 RemoteConference断开连接时调用。

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)

处理更改为 RemoteConference临时演员。

Parameters
conference RemoteConference: The RemoteConference invoking this method.
extras Bundle: The extras containing other information associated with the conference.

onStateChanged

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

在此RemoteConferece的状态发生变化时调用。 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.

Hooray!