GameBridge class

Owns the bridge session at the envelope level: the ready handshake (repeated ready re-sends the same init), the ready timeout, and closing. Typed dispatch lives in GameBridgeSession; this only tracks whether the surface may still talk to the skin.

Constructors

GameBridge()

Properties

dropNoted → bool
A drop was already logged this session. Drops never close the surface: they are only logged, once per session off this flag.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → GameSessionState
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
noteDropped() → void
onCloseRequest() → GameBridgeResult
onLoadingFailed() → GameBridgeResult
Ready timer fired or the main page failed: only a loading game can fail.
onReady() → GameBridgeResult
A skin ready: loading→open, and an open repeat still answers transitioned so the host re-sends the same init. Never throws.
toString() → String
A string representation of this object.
inherited

Operators

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