@Deprecated
public interface GKChallengeEventHandlerDelegate
| Modifier and Type | Method and Description |
|---|---|
default void |
localPlayerDidCompleteChallenge(GKChallenge challenge)
Deprecated.
Called when the local player has completed one of their challenges, triggered by a push notification from the server.
|
default void |
localPlayerDidReceiveChallenge(GKChallenge challenge)
Deprecated.
Called when the local player has received a challenge, triggered by a push notification from the server.
|
default void |
localPlayerDidSelectChallenge(GKChallenge challenge)
Deprecated.
Called when the user taps a challenge notification banner or the "Play Now" button for a challenge inside Game Center, causing the game to launch.
|
default void |
remotePlayerDidCompleteChallenge(GKChallenge challenge)
Deprecated.
Called when a non-local player has completed a challenge issued by the local player.
|
default boolean |
shouldShowBannerForLocallyCompletedChallenge(GKChallenge challenge)
Deprecated.
If the method returns YES, a challenge banner (like an achievement or welcome banner -- not a notification center banner) is displayed.
|
default boolean |
shouldShowBannerForLocallyReceivedChallenge(GKChallenge challenge)
Deprecated.
If the method returns YES, a challenge banner (like an achievement or welcome banner -- not a notification center banner) is displayed when a challenge is received in-game for the local player.
|
default boolean |
shouldShowBannerForRemotelyCompletedChallenge(GKChallenge challenge)
Deprecated.
If the method returns YES, a challenge banner (like an achievement or welcome banner -- not a notification center banner) is displayed.
|
default void localPlayerDidCompleteChallenge(GKChallenge challenge)
default void localPlayerDidReceiveChallenge(GKChallenge challenge)
default void localPlayerDidSelectChallenge(GKChallenge challenge)
default void remotePlayerDidCompleteChallenge(GKChallenge challenge)
default boolean shouldShowBannerForLocallyCompletedChallenge(GKChallenge challenge)
default boolean shouldShowBannerForLocallyReceivedChallenge(GKChallenge challenge)
default boolean shouldShowBannerForRemotelyCompletedChallenge(GKChallenge challenge)