GKError GKError Enum

Definition

An enumeration whose values specify Game Kit errors.

public enum GKError
type GKError = 
Inheritance
GKErrorGKError

Fields

AuthenticationInProgress AuthenticationInProgress 7

The player is authenticating.

Cancelled Cancelled 2

The user cancelled the operation.

ChallengeInvalid ChallengeInvalid 19

The challenge was invalid.

CommunicationsFailure CommunicationsFailure 3

There was an error in communicating with the game server.

GameSessionRequestInvalid GameSessionRequestInvalid 29

The session request was not valid.

GameUnrecognized GameUnrecognized 15

The game center did not recognize the app or game. This can be caused by an invalid bundle identifier.

InvalidCredentials InvalidCredentials 5

The user name or password was invalid.

InvalidParameter InvalidParameter 17

A parameter was incorrect or miscategorized.

InvalidPlayer InvalidPlayer 8

The in-game representation of a player was invalid.

InvitationsDisabled InvitationsDisabled 25

The receiver is not currently receiving invitations.

MatchNotConnected MatchNotConnected 28

The match is not connected.

MatchRequestInvalid MatchRequestInvalid 13

The match request is logically impossible.

None None 0

No error occurred.

NotAuthenticated NotAuthenticated 6

The player is not authenticated.

NotSupported NotSupported 16

The Game Center is not supported by the device.

Offline Offline 25
ParentalControlsBlocked ParentalControlsBlocked 10

The requested item or service is blocked.

PlayerPhotoFailure PlayerPhotoFailure 26

The player's photo could not be retrieved.

PlayerStatusExceedsMaximumLength PlayerStatusExceedsMaximumLength 11

The player's status message is longer than allowed.

PlayerStatusInvalid PlayerStatusInvalid 12

The player's status message is not valid.

ScoreNotSet ScoreNotSet 9

The score is not set.

TurnBasedInvalidParticipant TurnBasedInvalidParticipant 22

The in-game representation of a player in a turn-based game was invalid.

TurnBasedInvalidState TurnBasedInvalidState 24

The session for a turn-based game was in an invalid state.

TurnBasedInvalidTurn TurnBasedInvalidTurn 23

An attempt was made to play out of turn.

TurnBasedMatchDataTooLarge TurnBasedMatchDataTooLarge 20

The match data was too large.

TurnBasedTooManySessions TurnBasedTooManySessions 21

The maximum number of sessions was reached before the operation was requested.

UbiquityContainerUnavailable UbiquityContainerUnavailable 27

The iCloud container was unavailable.

Underage Underage 14

The player is not old enough to access the item or service.

UnexpectedConnection UnexpectedConnection 18

There was a connection from an unexpected player.

Unknown Unknown 1

An unknown error occurred.

UserDenied UserDenied 4

The user denied an operation.

Applies to