Enumeration

GKPeerConnectionState

The state of a peer known to the session.

Declaration

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

Overview

States are not mutually exclusive. For example, a peer can be available for other peers to discover while it is attempting to connect to another peer.

Topics

Constants

GKPeerStateAvailable

A peer not connected to the session, but one that the session can connect to.

GKPeerStateUnavailable

A peer that is no longer interested in receiving connections.

GKPeerStateConnected

A peer connected to the session.

GKPeerStateDisconnected

A peer that disconnected from the session.

GKPeerStateConnecting

A peer attempting to connect to the session.

See Also

Deprecated Enumerations

GKPeerPickerConnectionType

Network connections available to the peer picker dialog.

Deprecated
GKSendDataMode

The mechanism used to transmit data to other peers.

Deprecated
GKSessionError

Error codes for the GKSession error domain.

Deprecated
GKSessionMode

Modes that determine how a session interacts with other peers.

Deprecated
GKVoiceChatServiceError

Error codes for the GKVoiceChatService error domain.

Deprecated