PlayerLatency class

Regional latency information for a player, used when requesting a new game session with StartGameSessionPlacement. This value indicates the amount of time lag that exists when the player is connected to a fleet in the specified Region. The relative difference between a player's latency values for multiple Regions are used to determine which fleets are best suited to place a new game session for the player.

Constructors

PlayerLatency({double? latencyInMilliseconds, String? playerId, String? regionIdentifier})
PlayerLatency.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
latencyInMilliseconds double?
Amount of time that represents the time lag experienced by the player when connected to the specified Region.
final
playerId String?
A unique identifier for a player associated with the latency data.
final
regionIdentifier String?
Name of the Region that is associated with the latency value.
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