Edit

Share via


GKTurnBasedMatch.EndTurnAsync Method

Definition

Ends the turn and passes an error object that is null if no error occurred to completionHandler.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task EndTurnAsync (GameKit.GKTurnBasedParticipant[] nextParticipants, double timeoutSeconds, Foundation.NSData matchData);
abstract member EndTurnAsync : GameKit.GKTurnBasedParticipant[] * double * Foundation.NSData -> System.Threading.Tasks.Task
override this.EndTurnAsync : GameKit.GKTurnBasedParticipant[] * double * Foundation.NSData -> System.Threading.Tasks.Task

Parameters

nextParticipants
GKTurnBasedParticipant[]
timeoutSeconds
Double
matchData
NSData

Returns

A task that represents the asynchronous EndTurn operation

Attributes

Applies to