Edit

Share via


GKTurnBasedMatch.EndMatchInTurn Method

Definition

Overloads

EndMatchInTurn(NSData, GKScore[], GKAchievement[], Action<NSError>)

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.

EndMatchInTurn(NSData, Action<NSError>)

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

EndMatchInTurn(NSData, GKScore[], GKAchievement[], Action<NSError>)

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.

[Foundation.Export("endMatchInTurnWithMatchData:scores:achievements:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void EndMatchInTurn (Foundation.NSData matchData, GameKit.GKScore[] scores, GameKit.GKAchievement[] achievements, Action<Foundation.NSError> completionHandler);
abstract member EndMatchInTurn : Foundation.NSData * GameKit.GKScore[] * GameKit.GKAchievement[] * Action<Foundation.NSError> -> unit
override this.EndMatchInTurn : Foundation.NSData * GameKit.GKScore[] * GameKit.GKAchievement[] * Action<Foundation.NSError> -> unit

Parameters

matchData
NSData
scores
GKScore[]

To be added.

This parameter can be null.

achievements
GKAchievement[]

To be added.

This parameter can be null.

completionHandler
Action<NSError>

To be added.

This parameter can be null.

Attributes

Applies to

EndMatchInTurn(NSData, Action<NSError>)

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

[Foundation.Export("endMatchInTurnWithMatchData:completionHandler:")]
public virtual void EndMatchInTurn (Foundation.NSData matchData, Action<Foundation.NSError> onCompletion);
abstract member EndMatchInTurn : Foundation.NSData * Action<Foundation.NSError> -> unit
override this.EndMatchInTurn : Foundation.NSData * Action<Foundation.NSError> -> unit

Parameters

matchData
NSData
onCompletion
Action<NSError>

To be added.

This parameter can be null.

Attributes

Applies to