> For the complete documentation index, see [llms.txt](https://documentation.sceenic.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.sceenic.co/watch-together-sdk/sscale-confluence-api-references/android-reference-new/participant.md).

# Participant

## Field Summary <a href="#field-summary" id="field-summary"></a>

| String          | **name** - *Unique user name*                                  |
| --------------- | -------------------------------------------------------------- |
| ParticipantType | **participantType** - participant’s type                       |
| Boolean         | **isProgressReconnection** - state of participant reconnecting |
| Boolean         | **isConnectionLost** - state of participant connection lost    |
| Boolean         | **isVideoEnabled** - Holds the actual state of Video track     |
| Boolean         | **isAudioEnabled** - Holds the actual state of Audio track     |

## Public Method Summary <a href="#public-method-summary" id="public-method-summary"></a>

|         |                                                                  |                                                                                                                                               |
| ------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Type    | Methods                                                          | Parameters                                                                                                                                    |
| String  | name                                                             |                                                                                                                                               |
| void    | setName(final String name)                                       | <ul><li><strong>name</strong> - username</li></ul>                                                                                            |
| void    | setRenderer(final VideoRenderer videoRenderer)                   | <ul><li><strong>videoRenderer</strong> - <em>View in which video will be rendered</em><br></li></ul>                                          |
| void    | update(final Participant participant)                            | <ul><li><strong>participant</strong> - participant</li></ul>                                                                                  |
| void    | setParticipantStatsListener(OnParticipantStatsListener listener) | <ul><li><strong>listener</strong> - callback with json data about connection quality for audio and video participant</li></ul>                |
| void    | enableStats()                                                    |                                                                                                                                               |
| void    | enableAudio()                                                    | <p><br></p>                                                                                                                                   |
| void    | disableAudio()                                                   | <p><br></p>                                                                                                                                   |
| void    | enableVideo()                                                    | <p><br></p>                                                                                                                                   |
| void    | disableVideo()                                                   | <p><br></p>                                                                                                                                   |
| boolean | isAudioEnabled()                                                 | <p><br></p>                                                                                                                                   |
| boolean | isVideoEnabled()                                                 | <p><br></p>                                                                                                                                   |
| void    | setVolumeLevel(int level)                                        | <ul><li><strong>level</strong> - volume level</li></ul>                                                                                       |
| void    | attachStream(Media stream, Boolean mirror)                       | <ul><li><strong>stream</strong> - <em>media stream with audio and video tracks inside</em></li><li><strong>mirror</strong> - mirror</li></ul> |
| void    | dispose()                                                        | <p><br></p>                                                                                                                                   |
| String  | toString()                                                       | <p><br></p>                                                                                                                                   |
