AI-generated Key Takeaways
-
GCKCommon.h defines various enums related to Cast states, connection states, and reasons for connection suspension.
-
The file includes functions and variables, such as the framework version and indicators for invalid requests or thread exceptions.
-
The GCKConnectionSuspendReason enum specifies why a connection might be suspended, including app backgrounding, network errors, or app termination.
GCKCastState, GCKConnectionState, GCKConnectionSuspendReason, GCKActiveInputStatus, and GCKStandbyStatus enums. More...
Enumerations | |
enum | GCKConnectionSuspendReason { GCKConnectionSuspendReasonUnknown = -1, GCKConnectionSuspendReasonNone = 0, GCKConnectionSuspendReasonAppBackgrounded = 1, GCKConnectionSuspendReasonNetworkError = 2, GCKConnectionSuspendReasonNetworkNotReachable = 3, GCKConnectionSuspendReasonAppTerminated = 4 } |
Enum defining the reasons for a connection becoming suspended. More... | |
Variables | |
NSString *const | kGCKFrameworkVersion |
A string constant containing the version number of the GoogleCast framework. More... | |
const NSInteger | kGCKInvalidRequestID |
An invalid request ID; if a method returns this request ID, it means that the request could not be made. More... | |
NSString *const | kGCKThreadException |
An exception type indicating that an API was called from an invalid thread. More... | |
Detailed Description
GCKCastState, GCKConnectionState, GCKConnectionSuspendReason, GCKActiveInputStatus, and GCKStandbyStatus enums.
Enumeration Type Documentation
Enum defining the reasons for a connection becoming suspended.
Variable Documentation
kGCKFrameworkVersion |
A string constant containing the version number of the GoogleCast framework.
kGCKInvalidRequestID |
An invalid request ID; if a method returns this request ID, it means that the request could not be made.
kGCKThreadException |
An exception type indicating that an API was called from an invalid thread.