Enumeration

GKSessionError

Error codes for the GKSession error domain.

Declaration

typedef enum GKSessionError : int {
    ...
} GKSessionError;

Topics

Constants

GKSessionInvalidParameterError

A parameter had an unexpected value.

GKSessionPeerNotFoundError

A peer with the specified peerID string could not be found.

GKSessionDeclinedError

The peer your application tried to connect to refused the connection.

GKSessionTimedOutError

The operation could not be completed in the specified timeout period.

GKSessionCancelledError

A peer that invited the session to connect to them canceled the connection request.

GKSessionConnectionFailedError

The attempt to establish a connection with another peer failed.

GKSessionConnectionClosedError

The connection to another peer closed unexpectedly.

GKSessionDataTooBigError

The data your application attempted to send was too large for the session to transmit in a single call.

GKSessionNotConnectedError

Reserved for future use.

GKSessionCannotEnableError

Bluetooth is not currently available.

GKSessionInProgressError

The peer your application attempted to connect to has already requested a connection to your session.

GKSessionConnectivityError

An error occurred in the GKSession object's connection code.

GKSessionTransportError

An error occurred in the GKSession object's transport code.

GKSessionInternalError

A serious error occurred inside GKSession.

GKSessionUnknownError

Reserved for when the error does not fit in another category above.

GKSessionSystemError

An error occurred outside of the GKSession object's control, such as memory allocation.

See Also

Deprecated Enumerations

GKPeerConnectionState

The state of a peer known to the session.

Deprecated
GKPeerPickerConnectionType

Network connections available to the peer picker dialog.

Deprecated
GKSendDataMode

The mechanism used to transmit data to other peers.

Deprecated
GKSessionMode

Modes that determine how a session interacts with other peers.

Deprecated
GKVoiceChatServiceError

Error codes for the GKVoiceChatService error domain.

Deprecated