Added in API level 23

Callback


abstract class Callback
kotlin.Any
   ↳ android.telecom.RemoteConference.Callback

Callback base class for RemoteConference.

Summary

Public constructors

Public methods
open Unit

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

open Unit

Invoked when a RemoteConnection is added to the conference call.

open Unit
onConnectionCapabilitiesChanged(conference: RemoteConference!, connectionCapabilities: Int)

Indicates that the call capabilities of this RemoteConference have changed.

open Unit
onConnectionPropertiesChanged(conference: RemoteConference!, connectionProperties: Int)

Indicates that the call properties of this RemoteConference have changed.

open Unit

Invoked when a RemoteConnection is removed from the conference call.

open Unit

Indicates that this RemoteConference has been destroyed.

open Unit
onDisconnected(conference: RemoteConference!, disconnectCause: DisconnectCause!)

Invoked when this RemoteConference is disconnected.

open Unit
onExtrasChanged(conference: RemoteConference!, extras: Bundle?)

Handles changes to the RemoteConference extras.

open Unit
onStateChanged(conference: RemoteConference!, oldState: Int, newState: Int)

Invoked when the state of this RemoteConferece has changed.

Public constructors

Callback

Callback()

Public methods

onConferenceableConnectionsChanged

Added in API level 23
open fun onConferenceableConnectionsChanged(
    conference: RemoteConference!,
    conferenceableConnections: MutableList<RemoteConnection!>!
): Unit

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 MutableList<RemoteConnection!>!: The list of conferenceable RemoteConnections.

onConnectionAdded

Added in API level 23
open fun onConnectionAdded(
    conference: RemoteConference!,
    connection: RemoteConnection!
): Unit

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
open fun onConnectionCapabilitiesChanged(
    conference: RemoteConference!,
    connectionCapabilities: Int
): Unit

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
open fun onConnectionPropertiesChanged(
    conference: RemoteConference!,
    connectionProperties: Int
): Unit

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
open fun onConnectionRemoved(
    conference: RemoteConference!,
    connection: RemoteConnection!
): Unit

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
open fun onDestroyed(conference: RemoteConference!): Unit

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
open fun onDisconnected(
    conference: RemoteConference!,
    disconnectCause: DisconnectCause!
): Unit

Invoked when this RemoteConference is disconnected.

Parameters
conference RemoteConference!: The RemoteConference invoking this method.
disconnectCause DisconnectCause!: The ({@see DisconnectCause}) associated with this failed conference.

onExtrasChanged

Added in API level 23
open fun onExtrasChanged(
    conference: RemoteConference!,
    extras: Bundle?
): Unit

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
open fun onStateChanged(
    conference: RemoteConference!,
    oldState: Int,
    newState: Int
): Unit

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.