Interface IParticipant
Represents an IParticipant connected to a room.
Namespace: Unity.Cloud.Presence
Syntax
public interface IParticipant
Properties
ColorIndex
Gets the color palette index of the participant. Should be constant when the participant reconnects to a room
Declaration
int ColorIndex { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Connected
Gets the DateTime the participant joined the room.
Declaration
DateTime Connected { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Id
Gets the participant unique id for that connection in the room.
Declaration
ParticipantId Id { get; }
Property Value
| Type | Description |
|---|---|
| ParticipantId |
IsSelf
Indicates if the participant is using a local connection.
Declaration
bool IsSelf { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Name
Gets the participant name from the user identity service.
Declaration
string Name { get; }
Property Value
| Type | Description |
|---|---|
| String |
RoomId
Gets the ID of the room the participant is connected to.
Declaration
RoomId RoomId { get; }
Property Value
| Type | Description |
|---|---|
| RoomId |
VoiceId
Gets the participant voice ID.
Declaration
VoiceId VoiceId { get; }
Property Value
| Type | Description |
|---|---|
| VoiceId |