docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct Presence

    The presence information for a user at a location.

    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: VivoxUnity
    Assembly: VivoxUnity.dll
    Syntax
    public struct Presence

    Constructors

    Presence(PresenceStatus, string)

    Constructor

    Declaration
    public Presence(PresenceStatus status, string message)
    Parameters
    Type Name Description
    PresenceStatus status

    The online status of the user.

    string message

    An optional message.

    Fields

    Message

    An optional message published by the user.

    Declaration
    public readonly string Message
    Field Value
    Type Description
    string

    Status

    The online status of the user.

    Declaration
    public readonly PresenceStatus Status
    Field Value
    Type Description
    PresenceStatus

    Methods

    Equals(object)

    Determine if two objects are equal.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The other object.

    Returns
    Type Description
    bool

    True if the objects are equal.

    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Get the hashcode for this object.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    The hashcode.

    Overrides
    ValueType.GetHashCode()
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)