GKTurnBasedMatch.EndMatchInTurnAsync 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.
Overloads
| Name | Description |
|---|---|
| EndMatchInTurnAsync(NSData) |
Asynchronously ends the match with the specified end state, scores, and achievements. |
| EndMatchInTurnAsync(NSData, GKLeaderboardScore[], NSObject[]) | |
| EndMatchInTurnAsync(NSData, GKScore[], GKAchievement[]) |
Asynchronously the specified end state, scores, and achievements. |
EndMatchInTurnAsync(NSData)
Asynchronously ends the match with the specified end state, scores, and achievements.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task EndMatchInTurnAsync(Foundation.NSData matchData);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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
- Attributes
Applies to
EndMatchInTurnAsync(NSData, GKLeaderboardScore[], NSObject[])
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task EndMatchInTurnAsync(Foundation.NSData matchData, GameKit.GKLeaderboardScore[] scores, Foundation.NSObject[] achievements);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EndMatchInTurnAsync : Foundation.NSData * GameKit.GKLeaderboardScore[] * Foundation.NSObject[] -> System.Threading.Tasks.Task
override this.EndMatchInTurnAsync : Foundation.NSData * GameKit.GKLeaderboardScore[] * Foundation.NSObject[] -> System.Threading.Tasks.Task
Parameters
- matchData
- NSData
- scores
- GKLeaderboardScore[]
- achievements
- NSObject[]
Returns
- Attributes
Applies to
EndMatchInTurnAsync(NSData, GKScore[], GKAchievement[])
Asynchronously the specified end state, scores, and achievements.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task EndMatchInTurnAsync(Foundation.NSData matchData, GameKit.GKScore[]? scores, GameKit.GKAchievement[]? achievements);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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