Enumeration

GKPlayerConnectionState

The state of another player in the match.

Declaration

enum GKPlayerConnectionState : Int

Topics

Constants

case unknown

The player is in an indeterminate state and cannot receive data.

case connected

The player is connected to the match and can receive data.

case disconnected

The player is disconnected from the match and cannot receive data.

See Also

Receiving State Notifications About Other Players

func match(GKMatch, player: GKPlayer, didChange: GKPlayerConnectionState)

Called when a player connects to or disconnects from the match.