public interface GKMatchmakerViewControllerDelegate
| Modifier and Type | Method and Description |
|---|---|
void |
matchmakerViewControllerDidFailWithError(GKMatchmakerViewController viewController,
NSError error)
Matchmaking has failed with an error
|
default void |
matchmakerViewControllerDidFindHostedPlayers(GKMatchmakerViewController viewController,
NSArray<? extends GKPlayer> players)
Players have been found for a server-hosted game, the game should start
|
default void |
matchmakerViewControllerDidFindMatch(GKMatchmakerViewController viewController,
GKMatch match)
A peer-to-peer match has been found, the game should start
|
default void |
matchmakerViewControllerDidFindPlayers(GKMatchmakerViewController viewController,
NSArray<java.lang.String> playerIDs)
Deprecated.
|
default void |
matchmakerViewControllerDidReceiveAcceptFromHostedPlayer(GKMatchmakerViewController viewController,
java.lang.String playerID)
Deprecated.
|
default void |
matchmakerViewControllerHostedPlayerDidAccept(GKMatchmakerViewController viewController,
GKPlayer player)
An invited player has accepted a hosted invite.
|
void |
matchmakerViewControllerWasCancelled(GKMatchmakerViewController viewController)
The user has cancelled matchmaking
|
void matchmakerViewControllerDidFailWithError(GKMatchmakerViewController viewController, NSError error)
default void matchmakerViewControllerDidFindHostedPlayers(GKMatchmakerViewController viewController, NSArray<? extends GKPlayer> players)
default void matchmakerViewControllerDidFindMatch(GKMatchmakerViewController viewController, GKMatch match)
@Deprecated default void matchmakerViewControllerDidFindPlayers(GKMatchmakerViewController viewController, NSArray<java.lang.String> playerIDs)
@Deprecated default void matchmakerViewControllerDidReceiveAcceptFromHostedPlayer(GKMatchmakerViewController viewController, java.lang.String playerID)
default void matchmakerViewControllerHostedPlayerDidAccept(GKMatchmakerViewController viewController, GKPlayer player)
void matchmakerViewControllerWasCancelled(GKMatchmakerViewController viewController)