Type Alias: CastConnectionState
type CastConnectionState = "unavailable" | "idle" | "connecting" | "connected" | "transferring";
Defined in: packages/cast/src/specs/cast.nitro.ts:21
The cast connection state machine, identical on both platforms.
unavailable— the Cast framework cannot run here. Android: Google Play services is missing or the cast dynamite module failed to load (the framework is loaded from Play services at runtime; absence is a typed capability answer, never a crash). iOS:initializehas not succeeded.idle— framework ready, no session. Covers both "no devices found" and "devices found but not connected"; the device list answers which.connecting— a session start is in flight.connected— a cast session is active; media/queue calls are legal.transferring— an output-switcher stream transfer is in progress (Android 13+ only; iOS has no system transfer surface).