Error codes

Classes

class  GCKError
 The class for all GCK framework errors. More...
 

Enumerations

enum  GCKErrorCode {
  GCKErrorCodeNoError = 0, GCKErrorCodeNetworkError = 1, GCKErrorCodeTimeout = 2, GCKErrorCodeDeviceAuthenticationFailure = 3,
  GCKErrorCodeInvalidRequest = 4, GCKErrorCodeCancelled = 5, GCKErrorCodeReplaced = 6, GCKErrorCodeNotAllowed = 7,
  GCKErrorCodeDuplicateRequest = 8, GCKErrorCodeInvalidState = 9, GCKErrorCodeSendBufferFull = 10, GCKErrorCodeMessageTooBig = 11,
  GCKErrorCodeApplicationNotFound = 20, GCKErrorCodeApplicationNotRunning = 21, GCKErrorCodeInvalidApplicationSessionID = 22, GCKErrorCodeMediaLoadFailed = 30,
  GCKErrorCodeInvalidMediaPlayerState = 31, GCKErrorCodeNoMediaSession = 32, GCKErrorCodeAppDidEnterBackground = 91, GCKErrorCodeDisconnected = 92,
  GCKErrorCodeUnknown = 99
}
 Description of error codes. More...
 

Variables

GCK_EXTERN NSString *const kGCKErrorCustomDataKey
 The key for the customData JSON object associated with the error in the userInfo dictionary. More...
 
GCK_EXTERN NSString *const kGCKErrorDomain
 The error domain for GCKErrorCode. More...
 

Detailed Description

Error codes.

Enumeration Type Documentation

Description of error codes.

Enumerator
GCKErrorCodeNoError 

Error Code indicating no error.

GCKErrorCodeNetworkError 

Error code indicating a network I/O error.

GCKErrorCodeTimeout 

Error code indicating that an operation has timed out.

GCKErrorCodeDeviceAuthenticationFailure 

Error code indicating an authentication error.

GCKErrorCodeInvalidRequest 

Error code indicating that an invalid request was made.

GCKErrorCodeCancelled 

Error code indicating that an in-progress request has been cancelled, most likely because another action has preempted it.

GCKErrorCodeReplaced 

Error code indicating that a request has been replaced by another request of the same type.

GCKErrorCodeNotAllowed 

Error code indicating that the request was disallowed and could not be completed.

GCKErrorCodeDuplicateRequest 

Error code indicating that a request could not be made because the same type of request is still in process.

GCKErrorCodeInvalidState 

Error code indicating that the request is not allowed in the current state.

GCKErrorCodeSendBufferFull 

Error code indicating that data could not be sent because the send buffer is full.

GCKErrorCodeMessageTooBig 

Error indicating that the request could not be sent because the message exceeds the maximum allowed message size.

GCKErrorCodeApplicationNotFound 

Error code indicating that a requested application could not be found.

GCKErrorCodeApplicationNotRunning 

Error code indicating that a requested application is not currently running.

GCKErrorCodeInvalidApplicationSessionID 

Error code indicating that the application session ID was not valid.

GCKErrorCodeMediaLoadFailed 

Error code indicating that a media load failed on the receiver side.

GCKErrorCodeInvalidMediaPlayerState 

Error code indicating that a media media command failed because of the media player state.

GCKErrorCodeNoMediaSession 

Error indicating that no media session is currently available.

GCKErrorCodeAppDidEnterBackground 

Error code indicating the app entered the background.

GCKErrorCodeDisconnected 

Error code indicating a disconnection occurred during the request.

GCKErrorCodeUnknown 

Error code indicating that an unknown, unexpected error has occurred.

Variable Documentation

GCK_EXTERN NSString* const kGCKErrorCustomDataKey

The key for the customData JSON object associated with the error in the userInfo dictionary.

GCK_EXTERN NSString* const kGCKErrorDomain

The error domain for GCKErrorCode.

Google Cast iOS Sender API Reference v 2.10.1 4691