GKTurnBasedMatch.EndMatchInTurn 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
EndMatchInTurn(NSData, GKScore[], GKAchievement[], Action<NSError>) |
Ends the match with the specified end state, scores, and achievements, and passes an error object that is |
EndMatchInTurn(NSData, Action<NSError>) |
Ends the match with the end state |
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
- 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
- Attributes