Class PlayerPresence<T>
PlayerPresence model combines the presence of a player and the player object.
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> |