Contents

players(with:)

Retrieves a list of players with the specified connection state.

Declaration

func players(with state: GKConnectionState) -> [GKCloudPlayer]

Parameters

  • state:

    A GKConnectionState used to find the requested players.

Return Value

An array of players with the indicated connection state.

See Also

Connecting Players for Real-Time Communication