# RemoteConference.Callback

Added in[API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# Callback

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/telecom/RemoteConference.Callback "View this page in Java")  

```
abstract class Callback
```

|---|----------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                         ||
| ↳ | [android.telecom.RemoteConference.Callback](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference.Callback#) |

Callback base class for[RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference).

## Summary

|                                                      Public constructors                                                      ||
|----------------------------------------------------------------------------------------------------------------------------|---|
| [Callback](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference.Callback#Callback())`()` <br /> |

|                                                                                                                                                                                                                                                                                                                                                                                                                                   Public methods                                                                                                                                                                                                                                                                                                                                                                                                                                    ||
|----------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| open[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onConferenceableConnectionsChanged](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference.Callback#onConferenceableConnectionsChanged(android.telecom.RemoteConference,%20kotlin.collections.MutableList))`(`conference:` `[RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!`, `conferenceableConnections:` `[MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)<[RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)!>!`)` Invoked when the set of[RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)s which can be added to this conference call have changed. |
| open[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onConnectionAdded](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference.Callback#onConnectionAdded(android.telecom.RemoteConference,%20android.telecom.RemoteConnection))`(`conference:` `[RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!`, `connection:` `[RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)!`)` Invoked when a[RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)is added to the conference call.                                                                                                                                                                                             |
| open[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onConnectionCapabilitiesChanged](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference.Callback#onConnectionCapabilitiesChanged(android.telecom.RemoteConference,%20kotlin.Int))`(`conference:` `[RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!`, `connectionCapabilities:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Indicates that the call capabilities of this`RemoteConference`have changed.                                                                                                                                                                                                                                                                           |
| open[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onConnectionPropertiesChanged](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference.Callback#onConnectionPropertiesChanged(android.telecom.RemoteConference,%20kotlin.Int))`(`conference:` `[RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!`, `connectionProperties:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Indicates that the call properties of this`RemoteConference`have changed.                                                                                                                                                                                                                                                                                   |
| open[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onConnectionRemoved](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference.Callback#onConnectionRemoved(android.telecom.RemoteConference,%20android.telecom.RemoteConnection))`(`conference:` `[RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!`, `connection:` `[RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)!`)` Invoked when a[RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)is removed from the conference call.                                                                                                                                                                                     |
| open[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onDestroyed](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference.Callback#onDestroyed(android.telecom.RemoteConference))`(`conference:` `[RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!`)` Indicates that this`RemoteConference`has been destroyed.                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| open[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onDisconnected](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference.Callback#onDisconnected(android.telecom.RemoteConference,%20android.telecom.DisconnectCause))`(`conference:` `[RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!`, `disconnectCause:` `[DisconnectCause](https://developer.android.com/reference/kotlin/android/telecom/DisconnectCause)!`)` Invoked when this`RemoteConference`is disconnected.                                                                                                                                                                                                                                                                                               |
| open[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onExtrasChanged](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference.Callback#onExtrasChanged(android.telecom.RemoteConference,%20android.os.Bundle))`(`conference:` `[RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!`, `extras:` `[Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html#)?`)` Handles changes to the`RemoteConference`extras.                                                                                                                                                                                                                                                                                                                                         |
| open[Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [onStateChanged](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference.Callback#onStateChanged(android.telecom.RemoteConference,%20kotlin.Int,%20kotlin.Int))`(`conference:` `[RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!`, `oldState:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `newState:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Invoked when the state of this`RemoteConferece`has changed.                                                                                                                                                                                                                                   |

## Public constructors

### Callback

```
Callback()
```

## Public methods

### onConferenceableConnectionsChanged

Added in[API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
open fun onConferenceableConnectionsChanged(
    conference: RemoteConference!, 
    conferenceableConnections: MutableList<RemoteConnection!>!
): Unit
```

Invoked when the set of[RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)s which can be added to this conference call have changed.

|                                                                                                                                                                                  Parameters                                                                                                                                                                                   ||
|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `conference`                | [RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!:The`RemoteConference`invoking this method.                                                                                                                                                                                                  |
| `conferenceableConnections` | [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\<[RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)!\>!:The list of conferenceable[RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)s. |

### onConnectionAdded

Added in[API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
open fun onConnectionAdded(
    conference: RemoteConference!, 
    connection: RemoteConnection!
): Unit
```

Invoked when a[RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)is added to the conference call.

|                                                                                                              Parameters                                                                                                               ||
|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `conference` | [RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!:The`RemoteConference`invoking this method.                                                                         |
| `connection` | [RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)!:The[RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)being added. |

### onConnectionCapabilitiesChanged

Added in[API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

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

Indicates that the call capabilities of this`RemoteConference`have changed. See[getConnectionCapabilities()](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference#getConnectionCapabilities()).

|                                                                                Parameters                                                                                 ||
|--------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
| `conference`             | [RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!:The`RemoteConference`invoking this method. |
| `connectionCapabilities` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html):The new capabilities of the`RemoteConference`.                       |

### onConnectionPropertiesChanged

Added in[API level 25](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

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

Indicates that the call properties of this`RemoteConference`have changed. See[getConnectionProperties()](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference#getConnectionProperties()).

|                                                                               Parameters                                                                                ||
|------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
| `conference`           | [RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!:The`RemoteConference`invoking this method. |
| `connectionProperties` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html):The new properties of the`RemoteConference`.                         |

### onConnectionRemoved

Added in[API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
open fun onConnectionRemoved(
    conference: RemoteConference!, 
    connection: RemoteConnection!
): Unit
```

Invoked when a[RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)is removed from the conference call.

|                                                                                                               Parameters                                                                                                                ||
|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `conference` | [RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!:The`RemoteConference`invoking this method.                                                                           |
| `connection` | [RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)!:The[RemoteConnection](https://developer.android.com/reference/kotlin/android/telecom/RemoteConnection)being removed. |

### onDestroyed

Added in[API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
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](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!:The`RemoteConference`invoking this method. |

### onDisconnected

Added in[API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

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

Invoked when this`RemoteConference`is disconnected.

|                                                                                         Parameters                                                                                         ||
|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `conference`      | [RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!:The`RemoteConference`invoking this method.                         |
| `disconnectCause` | [DisconnectCause](https://developer.android.com/reference/kotlin/android/telecom/DisconnectCause)!:The ({@see DisconnectCause}) associated with this failed conference. |

### onExtrasChanged

Added in[API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

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

Handles changes to the`RemoteConference`extras.

|                                                                                            Parameters                                                                                            ||
|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `conference` | [RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!:The`RemoteConference`invoking this method.                                    |
| `extras`     | [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html#)?:The extras containing other information associated with the conference. This value may be`null`. |

### onStateChanged

Added in[API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

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

Invoked when the state of this`RemoteConferece`has changed. See[getState()](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference#getState()).

|                                                                          Parameters                                                                           ||
|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
| `conference` | [RemoteConference](https://developer.android.com/reference/kotlin/android/telecom/RemoteConference)!:The`RemoteConference`invoking this method. |
| `oldState`   | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html):The previous state of the`RemoteConference`.                         |
| `newState`   | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html):The new state of the`RemoteConference`.                              |