AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Sets a latency cap for individual players when placing a game session. With a latency policy in force, a game session cannot be placed in a fleet location where a player reports latency higher than the cap. Latency policies are used only with placement request that provide player latency information. Player latency policies can be stacked to gradually relax latency requirements over time.

Inheritance Hierarchy

System.Object
  Amazon.GameLift.Model.PlayerLatencyPolicy

Namespace: Amazon.GameLift.Model
Assembly: AWSSDK.GameLift.dll
Version: 3.x.y.z

Syntax

C#
public class PlayerLatencyPolicy

The PlayerLatencyPolicy type exposes the following members

Constructors

NameDescription
Public Method PlayerLatencyPolicy()

Properties

NameTypeDescription
Public Property MaximumIndividualPlayerLatencyMilliseconds System.Int32

Gets and sets the property MaximumIndividualPlayerLatencyMilliseconds.

The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.

Public Property PolicyDurationSeconds System.Int32

Gets and sets the property PolicyDurationSeconds.

The length of time, in seconds, that the policy is enforced while placing a new game session. A null value for this property means that the policy is enforced until the queue times out.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5