Class RoomP2PStatus
This is a JSON template for an update on the status of a peer in a room.
Inheritance
Implements
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class RoomP2PStatus : object, IDirectResponseSchema
Properties
ConnectionSetupLatencyMillis
The amount of time in milliseconds it took to establish connections with this peer.
Declaration
public virtual Nullable<int> ConnectionSetupLatencyMillis { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Error
The error code in event of a failure. Possible values are: - "P2P_FAILED" - The client failed to establish a P2P connection with the peer. - "PRESENCE_FAILED" - The client failed to register to receive P2P connections. - "RELAY_SERVER_FAILED" - The client received an error when trying to use the relay server to establish a P2P connection with the peer.
Declaration
public virtual string Error { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ErrorReason
More detailed diagnostic message returned in event of a failure.
Declaration
public virtual string ErrorReason { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Kind
Uniquely identifies the type of this resource. Value is always the fixed string games#roomP2PStatus.
Declaration
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ParticipantId
The ID of the participant.
Declaration
public virtual string ParticipantId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Status
The status of the peer in the room. Possible values are: - "CONNECTION_ESTABLISHED" - The client established a P2P connection with the peer. - "CONNECTION_FAILED" - The client failed to establish directed presence with the peer.
Declaration
public virtual string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
UnreliableRoundtripLatencyMillis
The amount of time in milliseconds it took to send packets back and forth on the unreliable channel with this peer.
Declaration
public virtual Nullable<int> UnreliableRoundtripLatencyMillis { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |