GCKCommon.h File
Stay organized with collections
Save and categorize content based on your preferences.
GCKCastState, GCKConnectionState, GCKConnectionSuspendReason, GCKActiveInputStatus, and GCKStandbyStatus enums.
More...
|
typedef | NS_CLOSED_ENUM (NSInteger, GCKConnectionState) |
|
typedef | NS_CLOSED_ENUM (NSInteger, GCKActiveInputStatus) |
|
typedef | NS_CLOSED_ENUM (NSInteger, GCKStandbyStatus) |
|
typedef | NS_CLOSED_ENUM (NSUInteger, GCKCastState) |
|
GCKCastState, GCKConnectionState, GCKConnectionSuspendReason, GCKActiveInputStatus, and GCKStandbyStatus enums.
Enum defining the reasons for a connection becoming suspended.
Enumerator |
---|
GCKConnectionSuspendReasonAppBackgrounded |
The connection was suspended because the application is going into the background.
|
GCKConnectionSuspendReasonNetworkError |
The connection was suspended because of a network I/O or protocol error.
|
GCKConnectionSuspendReasonNetworkNotReachable |
The connection was suspended because the network is not reachable.
|
GCKConnectionSuspendReasonAppTerminated |
The connection was suspended because app was terminated while connected.
|
A string constant containing the version number of the GoogleCast framework.
An invalid request ID; if a method returns this request ID, it means that the request could not be made.
An exception type indicating that an API was called from an invalid thread.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The GCKCommon.h file defines enums for Cast state, connection state, connection suspension reasons, active input status, and standby status."],["It includes an enum, `GCKConnectionSuspendReason`, which specifies the reasons behind a connection suspension, such as app backgrounding, network errors, and app termination."],["The file declares constants like `kGCKFrameworkVersion` for the framework version, `kGCKInvalidRequestID` representing an invalid request, and `kGCKThreadException` indicating an API call from an invalid thread."],["It contains typedefs for GCKConnectionState, GCKActiveInputStatus, GCKStandbyStatus, and GCKCastState, all of which are closed enums using NSInteger or NSUInteger."]]],["This document outlines key elements within the GCKCommon.h file, which contains enumerations, functions, and variables related to Google Cast. The `GCKConnectionSuspendReason` enum details reasons for connection suspension, such as the app being backgrounded, network errors, network unreachability, or app termination. Other enums include `GCKCastState`, `GCKConnectionState`, `GCKActiveInputStatus`, and `GCKStandbyStatus`. Notable variables are `kGCKFrameworkVersion` (framework version), `kGCKInvalidRequestID` (for failed requests), and `kGCKThreadException` (invalid thread calls).\n"]]