ThrottleEvent class
Emitted when thermal or memory conditions cause the pool to throttle.
Records the device state and the effective concurrency limit that resulted.
Constructors
- ThrottleEvent({required ThermalLevel thermalLevel, required MemoryPressureLevel memoryPressure, required int effectiveMaxConcurrent})
- Creates a throttle event.
Properties
- effectiveMaxConcurrent → int
-
The effective maximum concurrent players after throttling is applied.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- memoryPressure → MemoryPressureLevel
-
The current memory pressure level reported by the OS.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thermalLevel → ThermalLevel
-
The current thermal level reported by the OS.
final
- timestamp → int
-
The wall-clock time this event was created, in milliseconds since epoch.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited