Enumeration

GKPeerConnectionState

The state of a peer known to the session.

Declaration

enum GKPeerConnectionState : Int32

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

case stateAvailable

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

case stateUnavailable

A peer that is no longer interested in receiving connections.

case stateConnected

A peer connected to the session.

case stateDisconnected

A peer that disconnected from the session.

case stateConnecting

A peer attempting to connect to the session.

See Also

Deprecated Enumerations

enum GKSendDataMode

The mechanism used to transmit data to other peers.

Deprecated
enum GKSessionError.Code

Error codes for the GKSession error domain.

Deprecated
enum GKSessionMode

Modes that determine how a session interacts with other peers.

Deprecated
enum GKVoiceChatServiceError.Code

Error codes for the GKVoiceChatService error domain.

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software