Contents

session(_:player:didChange:)

Tells the listener a player’s connection state has changed.

Declaration

optional func session(_ session: GKGameSession, player: GKCloudPlayer, didChange newState: GKConnectionState)

Parameters

  • session:

    The game session affected by the connection state change.

  • player:

    The player who’s connection state has changed.

  • newState:

    The new connection state for the player.

See Also

Changing Player Status