docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PresenceRequest

    PresenceRequest

    Inheritance
    object
    PresenceRequest
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.Friends
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class PresenceRequest

    Constructors

    PresenceRequest(AvailabilityEnum, object)

    Initializes a new instance of the PresenceRequest class.

    Declaration
    [Preserve]
    public PresenceRequest(PresenceRequest.AvailabilityEnum availability = (PresenceRequest.AvailabilityEnum)0, object activity = null)
    Parameters
    Type Name Description
    PresenceRequest.AvailabilityEnum availability

    The current availability of the user. (required).

    object activity

    The current activity data of the user. The maximum for the activity object is 10 kilobytes..

    Properties

    Activity

    The current activity data of the user. The maximum for the activity object is 10 kilobytes.

    Declaration
    [Preserve]
    public object Activity { get; set; }
    Property Value
    Type Description
    object

    The current activity data of the user. The maximum for the activity object is 10 kilobytes.

    Availability

    The current availability of the user.

    Declaration
    [Preserve]
    public PresenceRequest.AvailabilityEnum Availability { get; set; }
    Property Value
    Type Description
    PresenceRequest.AvailabilityEnum

    The current availability of the user.

    In This Article
    Back to top
    Copyright © 2024 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)