SpectateTimeoutException

class SpectateTimeoutException(message: String = "timed out waiting for the host to admit or reject this spectator") : IllegalStateException

Thrown by gameSpectate when the host never signals spectator admission or rejection within the gameSpectate spectateAdmissionTimeout bound.

Distinct from SpectatorsClosedException so callers can diagnose "host gone / crashed mid-handshake" from "spectators are disabled / gallery full". On timeout, the caller may retry gameSpectate (the host may still be starting up) or surface a connectivity error.

Constructors

Link copied to clipboard
constructor(message: String = "timed out waiting for the host to admit or reject this spectator")

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?