Class PresenceRequest
PresenceRequest
Inherited Members
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. |