GameFailureReason enum

Failures that close a game surface, sent as game_open_failed reasons by wireValue.

Inheritance
Available extensions

Values

readyTimeout → const GameFailureReason
const GameFailureReason('ready_timeout')
loadTimeout → const GameFailureReason

The page did not commit within gameLoadTimeoutMs of the load starting.

const GameFailureReason('load_timeout')
bundleLoadFailed → const GameFailureReason
const GameFailureReason('bundle_load_failed')
unsupportedWebview → const GameFailureReason
const GameFailureReason('unsupported_webview')
webviewUnavailable → const GameFailureReason
const GameFailureReason('webview_unavailable')
renderError → const GameFailureReason
const GameFailureReason('render_error')
busy → const GameFailureReason
const GameFailureReason('busy')
bridgeVersionUnsupported → const GameFailureReason

The skin closed itself before ready: it cannot run on this SDK.

const GameFailureReason('bridge_version_unsupported')
timeout → const GameFailureReason

The open watchdog fired before the route committed (entry and rewards opens only; direct games are covered by their coordinator).

const GameFailureReason('timeout')
closedBeforeReady → const GameFailureReason

The skin closed itself before ready for any other reason.

const GameFailureReason('closed_before_ready')
webProcessTerminated → const GameFailureReason

The web process died after the open was requested and before ready. webview_flutter surfaces no render-process signal, so this fires from the host platform channel when the plugin reports it, else the load degrades to bundle_load_failed.

const GameFailureReason('web_process_terminated')
httpTimeout → const GameFailureReason

A skin http call (state, play or getRewards) had no answer within gameHttpWatchdogMs. Reported by game_open_failed even when the game was already showing: the stuck window closes through the normal close path, and the hang still counts as an open failure.

const GameFailureReason('http_timeout')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wireValue → String
final

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

Constants

values → const List<GameFailureReason>
A constant List of the values in this enum, in order of their declaration.