Edit

Share via


GKTurnBasedMatch.EndMatchInTurnAsync Method

Definition

Overloads

EndMatchInTurnAsync(NSData)

Ends the match with the specified end state, scores, and achievements, and passes an error object that is null if no error occurred to completionHandler.

EndMatchInTurnAsync(NSData, GKScore[], GKAchievement[])

Asynchronously the specified end state, scores, and achievements.

EndMatchInTurnAsync(NSData)

Ends the match with the specified end state, scores, and achievements, and passes an error object that is null if no error occurred to completionHandler.

public virtual System.Threading.Tasks.Task EndMatchInTurnAsync (Foundation.NSData matchData);
abstract member EndMatchInTurnAsync : Foundation.NSData -> System.Threading.Tasks.Task
override this.EndMatchInTurnAsync : Foundation.NSData -> System.Threading.Tasks.Task

Parameters

matchData
NSData

Returns

A task that represents the asynchronous EndMatchInTurn operation

Applies to

EndMatchInTurnAsync(NSData, GKScore[], GKAchievement[])

Asynchronously the specified end state, scores, and achievements.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task EndMatchInTurnAsync (Foundation.NSData matchData, GameKit.GKScore[] scores, GameKit.GKAchievement[] achievements);
abstract member EndMatchInTurnAsync : Foundation.NSData * GameKit.GKScore[] * GameKit.GKAchievement[] -> System.Threading.Tasks.Task
override this.EndMatchInTurnAsync : Foundation.NSData * GameKit.GKScore[] * GameKit.GKAchievement[] -> System.Threading.Tasks.Task

Parameters

matchData
NSData
scores
GKScore[]
achievements
GKAchievement[]

Returns

Attributes

Applies to