# All Implemented Interfaces

---

```java
public final class Participant
```

Represents participants connected to session. May be used for local or remote participant

---
### Nested Class Summary

| Modifier and Type | Class | Description |
| --- | --- | --- |
|  |  |  |
| Nested Classes |  |  |

---
### Field Summary

| Modifier and Type | Field | Description |
| --- | --- | --- |
| `private final String` | `id` |  |
| `private final Identity` | `identity` |  |
| `private final MediaState` | `mediaState` |  |
| `private final Boolean` | `isSelf` |  |

---
### Constructor Summary

| Constructor | Description |
| --- | --- |
| `Participant(String id, Identity identity, MediaState mediaState, Boolean isSelf)` |  |

---
### Enum Constant Summary

| Enum Constant | Description |
| --- | --- |
|  |  |

---
### Method Summary

All Methods

| Modifier and Type | Method | Description |
| --- | --- | --- |
| `final String` | `getId()` |  |
| `final Identity` | `getIdentity()` |  |
| `final MediaState` | `getMediaState()` |  |
| `final Boolean` | `isSelf()` |  |

---
### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

---
### Constructor Detail

#### Participant

```java
Participant(String id, Identity identity, MediaState mediaState, Boolean isSelf)
```

Parameters:
`id` - participant connection id

`identity` - detailed information such as name, role, company, connection time

`mediaState` - data about media being streamed by Participant

`isSelf` - is a local Participant

---
### Method Detail

#### getId

```java
 final String getId()
```

#### getIdentity

```java
 final Identity getIdentity()
```

#### getMediaState

```java
 final MediaState getMediaState()
```

#### isSelf

```java
 final Boolean isSelf()
```
