docs.unity3d.com
    Show / Hide Table of Contents

    Struct TextParticipant

    Represents data for a participant connected to a text service.

    Inherited Members
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Cloud.Presence
    Syntax
    public struct TextParticipant : IEquatable<TextParticipant>

    Constructors

    TextParticipant(String, TextId)

    Declaration
    public TextParticipant(string displayName, TextId textId)
    Parameters
    Type Name Description
    String displayName
    TextId textId

    Properties

    DisplayName

    Gets the participant display name. Matches Vivox.IParticipant.Account.DisplayName.

    Declaration
    public readonly string DisplayName { get; }
    Property Value
    Type Description
    String

    TextId

    Gets the Vivox Participant.Id.

    Declaration
    public readonly TextId TextId { get; }
    Property Value
    Type Description
    TextId

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(TextParticipant)

    Declaration
    public bool Equals(TextParticipant other)
    Parameters
    Type Name Description
    TextParticipant other
    Returns
    Type Description
    Boolean
    Implements
    IEquatable<T>.Equals(T)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    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