GKLocalPlayerListener.WantsToPlayChallenge(GKPlayer, GKChallenge) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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