# Participant

Artifact: [androidx.core:core-telecom](https://developer.android.com/jetpack/androidx/releases/core) [View Source](https://cs.android.com/search?q=file:androidx/core/telecom/extensions/Participant.kt+class:androidx.core.telecom.extensions.Participant) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/core#1.0.0)

*** ** * ** ***


```
class Participant
```

<br />

*** ** * ** ***

A representation of aspects of a participant in a Call.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/core/telecom/extensions/Participant#Participant(kotlin.String,kotlin.CharSequence)(id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html)` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/telecom/extensions/Participant#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/telecom/extensions/Participant#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/telecom/extensions/Participant#toString()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/telecom/extensions/Participant#id()` A unique identifier shared with remote surfaces that represents this participant. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` | `https://developer.android.com/reference/kotlin/androidx/core/telecom/extensions/Participant#name()` The name of the Participant, which remote surfaces will display to users. |

## Public constructors

### Participant

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/core#1.0.0)

```
Participant(id: String, name: CharSequence)
```

| Parameters |
|---|---|
| `id: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | A unique identifier shared with remote surfaces that represents this participant. This value MUST be unique and stable for the life of the call, meaning that this ID should not change or be reused for the lifetime of the call. |
| `name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` | The name of the Participant, which remote surfaces will display to users. |

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

### toString

```
open fun toString(): String
```

## Public properties

### id

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/core#1.0.0)

```
val id: String
```

A unique identifier shared with remote surfaces that represents this participant. This value MUST be unique and stable for the life of the call, meaning that this ID should not change or be reused for the lifetime of the call.

### name

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/core#1.0.0)

```
val name: CharSequence
```

The name of the Participant, which remote surfaces will display to users.