docs.unity3d.com
    Show / Hide Table of Contents

    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

    Extension Methods

    GenericDataExtensions.SerializeToByteArray(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023