PlayerLatencyPolicy class

Queue setting that determines the highest latency allowed for individual players when placing a game session. When a latency policy is in force, a game session cannot be placed with any fleet in a Region where a player reports latency higher than the cap. Latency policies are only enforced when the placement request contains player latency information.

Constructors

PlayerLatencyPolicy({int? maximumIndividualPlayerLatencyMilliseconds, int? policyDurationSeconds})
PlayerLatencyPolicy.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
maximumIndividualPlayerLatencyMilliseconds int?
The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.
final
policyDurationSeconds int?
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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited