Enumeration

GKGameSessionErrorCode

Error codes for the GKGameSession domain.

Declaration

typedef enum GKGameSessionErrorCode : NSInteger {
    ...
} GKGameSessionErrorCode;

Topics

Enumeration Cases

GKGameSessionErrorUnknown

The requested operation could not be completed due to an unknown error.

GKGameSessionErrorNotAuthenticated

The requested operation could not be completed because you are not signed in to iCloud.

GKGameSessionErrorSessionConflict

The requested operation could not be completed because the session has been updated on the server, causing a conflict.

GKGameSessionErrorSessionNotShared

The requested operation could not be completed because this session has not been shared with other players.

GKGameSessionErrorConnectionCancelledByUser

The requested operation could not be completed because the connection to the session was cancelled.

GKGameSessionErrorConnectionFailed

The requested operation could not be completed because the session could not find other players to connect to.

GKGameSessionErrorSessionHasMaxConnectedPlayers

The requested operation could not be completed because the session has reached the maximum number of connected players.

GKGameSessionErrorSendDataNotConnected

The requested operation could not be completed because you are not connected to the session.

GKGameSessionErrorSendDataNoRecipients

The requested operation could not be completed because there are no recipients connected to session.

GKGameSessionErrorSendDataNotReachable

The requested operation could not be completed because one or more players is not reachable.

GKGameSessionErrorSendRateLimitReached

The requested operation could not be completed because you have reached the limits for save data request.

GKGameSessionErrorBadContainer

The requested operation could not be completed because the iCloud container is invalid.

GKGameSessionErrorCloudQuotaExceeded

The requested operation could not be completed because the user's iCloud quota would be exceeded.

GKGameSessionErrorNetworkFailure

The requested operation could not be completed due to an error communicating with the server.

GKGameSessionErrorCloudDriveDisabled

The requested operation could not be completed because iCloud Drive has been disabled for the application.

GKGameSessionErrorInvalidSession

The requested operation could not be completed because the Game Session does not exist or the player is not part of the game session.

See Also

Game Sessions

GKCloudPlayer

The object representing the currently signed-in iCloud user.

Deprecated
GKGameSession

A game session you can use to save game data, invite other players, and create turn-based and real-time game apps.

Deprecated
GKGameSessionEventListener

An event listener that handles game session events.

Deprecated
GKGameSessionSharingViewController

A user interface you can use to invite other users into a tvOS game session.

Deprecated
GKGameSessionErrorDomain

The error domain for game sessions.

Deprecated