Instance Method

cancelInvite(toPlayer:)

Cancels a pending invitation to another player.

Declaration

func cancelInvite(toPlayer playerID: String)

Parameters

playerID

The player identifier for a player previously invited to the match.

See Also

Deprecated Methods and Properties

var inviteHandler: ((GKInvite, [Any]?) -> Void)?

A block to be called when an invitation to join a match is accepted by the local player.

Deprecated
func startBrowsingForNearbyPlayers(reachableHandler: ((String, Bool) -> Void)?)

Enables the matchmaking process to find nearby players through Bluetooth or WiFi (same subnet only).

Deprecated