docs.unity3d.com
    Show / Hide Table of Contents

    Class PlayerPresence<T>

    PlayerPresence model combines the presence of a player and the player object.

    Inheritance
    Object
    PlayerPresence<T>
    Namespace: Unity.Services.Friends.Models
    Syntax
    public class PlayerPresence<T>
    Type Parameters
    Name Description
    T

    The activity type

    Properties

    LastSeen

    The last time the user was seen in UTC. This property only exists if the user's availability is OFFLINE.

    Declaration
    public DateTime LastSeen { get; set; }
    Property Value
    Type Description
    DateTime

    Player

    Player object.

    Declaration
    public Player Player { get; set; }
    Property Value
    Type Description
    Player

    Presence

    Presence information containing the availability and the activity of the player.

    Declaration
    public Presence<T> Presence { get; set; }
    Property Value
    Type Description
    Presence<T>
    Back to top
    Terms of use
    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