# SessionParticipant

# SessionParticipant

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/com/google/ambient/crossdevice/sessions/SessionParticipant "View this page in Kotlin")\|Java

<br />

```
@RequiresApi(value = 26) interface SessionParticipant
```

<br />

*** ** * ** ***

Represents an individual device that is participating in a Session.

This[SessionParticipant](https://developer.android.com/reference/com/google/ambient/crossdevice/sessions/SessionParticipant)is expected to be passed into the Session APIs to identify the desired participant to interact with.[SessionParticipants](https://developer.android.com/reference/com/google/ambient/crossdevice/sessions/SessionParticipant)are not stable across sessions. If the user starts another session by transferring to or sharing with the same receiving device, the resulting[SessionParticipant](https://developer.android.com/reference/com/google/ambient/crossdevice/sessions/SessionParticipant)instance will still be different.

## Summary

|                                                                                                                                              ### Public fields                                                                                                                                               ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|
| `abstract @`[NonNull](https://developer.android.com/reference/androidx/annotation/NonNull)` `[CharSequence](https://developer.android.com/reference/java/lang/CharSequence) | [displayName](https://developer.android.com/reference/com/google/ambient/crossdevice/sessions/SessionParticipant#displayName()) |

## Public fields

### displayName

```
abstract @NonNull CharSequence displayName
```