Page Summary
-
GCKError.h provides information about framework errors in the Google Cast SDK for iOS.
-
It includes a class called GCKError which is a subclass of NSError for framework errors.
-
The file defines an enumeration, GCKErrorCode, which lists various framework error codes and their descriptions.
-
Several constant strings are defined, including kGCKErrorCustomDataKey for custom error data and kGCKErrorDomain for the error domain of GCKErrorCode.
Framework errors. More...
GCKErrorCodeNoError = 0, GCKErrorCodeNetworkError = 1, GCKErrorCodeTimeout = 2, GCKErrorCodeDeviceAuthenticationFailure = 3,
GCKErrorCodeInvalidRequest = 4, GCKErrorCodeCancelled = 5, GCKErrorCodeReplaced = 6, GCKErrorCodeNotAllowed = 7,
GCKErrorCodeDuplicateRequest = 8, GCKErrorCodeInvalidState = 9, GCKErrorCodeSendBufferFull = 10, GCKErrorCodeMessageTooBig = 11,
GCKErrorCodeChannelNotConnected = 12, GCKErrorCodeDeviceAuthorizationFailure = 13, GCKErrorCodeDeviceNotConnected = 14, GCKErrorCodeProtocolVersionMismatch = 15,
GCKErrorCodeMaxUsersConnected = 16, GCKErrorCodeNetworkNotReachable = 17, GCKErrorCodeProtocolError = 18, GCKErrorCodeApplicationNotFound = 20,
GCKErrorCodeApplicationNotRunning = 21, GCKErrorCodeInvalidApplicationSessionID = 22, GCKErrorCodeMediaLoadFailed = 30, GCKErrorCodeInvalidMediaPlayerState = 31,
GCKErrorCodeNoMediaSession = 32, GCKErrorCodeAuthenticationErrorReceived = 40, GCKErrorCodeMalformedClientCertificate = 41, GCKErrorCodeNotX509Certificate = 42,
GCKErrorCodeDeviceCertificateNotTrusted = 43, GCKErrorCodeSSLCertificateNotTrusted = 44, GCKErrorCodeMalformedAuthenticationResponse = 45, GCKErrorCodeDeviceCapabilityNotSupported = 46,
GCKErrorCodeCRLInvalid = 47, GCKErrorCodeCRLCheckFailed = 48, GCKErrorCodeAppDidEnterBackground = 91, GCKErrorCodeDisconnected = 92,
GCKErrorCodeUnsupportedFeature = 93, GCKErrorCodeUnknown = 99
}
Detailed Description
Framework errors.
Enumeration Type Documentation
Framework error codes.
Error code indicating that an in-progress request has been cancelled, most likely because another action has preempted it.
Error code indicating that a request has been replaced by another request of the same type.
Error code indicating that the request was disallowed and could not be completed.
Error code indicating that a request could not be made because the same type of request is still in process.
Error code indicating that the request is not allowed in the current state.
Error code indicating that data could not be sent because the send buffer is full.
Error indicating that the request could not be sent because the message exceeds the maximum allowed message size.
Error indicating that a channel operation could not be completed because the channel is not currently connected.
Error indicating that the user is not authorized to use a Cast device.
Error indicating that a device request could not be completed because there is no connection currently established to the device.
Error indicating that there is a mismatch between the protocol versions being used on the sender and the receiver for a given namespace implementation.
Error indicating that the maximum number of users is already connected to the receiver.
Error code indicating that a requested application could not be found.
Error code indicating that a requested application is not currently running.
Error code indicating that the application session ID was not valid.
Error code indicating that a media media command failed because of the media player state.
Error code indicating that device authentication failed due to error received.
Error code indicating that device authentication failed because a malformed client certificate is received.
Error code indicating that device authentication failed because certificate received from Chromecast is not expected format.
Error code indicating that device authentication failed because the device certificate is not trusted.
Error code indicating that device authentication failed because the SSL certificate is not trusted.
Error code indicating that device authentication failed because the response from device is malformed.
Error code indicating that device authentication failed because the device capability shows unsupported.
Error code indicating that device authentication failed because CRL from device is invalid.
Error code indicating that device authentication failed because device certificate is revoked by CRL.
Error code indicating that the application moved to the background.
Error code indicating that the feature or action is unsupported either on this iOS device or the receiver.
Variable Documentation
The key for the customData JSON object associated with the error in the userInfo dictionary.
The error domain for GCKErrorCode.

