GKLocalPlayerListener.WantsToPlayChallenge(GKPlayer, GKChallenge) Method

Definition

Method that is called when player starts a game in order to complete a challenge.

[Foundation.Export("player:wantsToPlayChallenge:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void WantsToPlayChallenge (GameKit.GKPlayer player, GameKit.GKChallenge challenge);
abstract member WantsToPlayChallenge : GameKit.GKPlayer * GameKit.GKChallenge -> unit
override this.WantsToPlayChallenge : GameKit.GKPlayer * GameKit.GKChallenge -> unit

Parameters

player
GKPlayer
challenge
GKChallenge
Attributes

Applies to