Edit

Share via


GKTurnBasedMatch.SaveCurrentTurn(NSData, Action<NSError>) Method

Definition

Saves the current turn, does not advance to the next player, and runs oncCompletion.

[Foundation.Export("saveCurrentTurnWithMatchData:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SaveCurrentTurn (Foundation.NSData matchData, Action<Foundation.NSError> completionHandler);
[Foundation.Export("saveCurrentTurnWithMatchData:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SaveCurrentTurn (Foundation.NSData matchData, Action<Foundation.NSError> completionHandler);
abstract member SaveCurrentTurn : Foundation.NSData * Action<Foundation.NSError> -> unit
override this.SaveCurrentTurn : Foundation.NSData * Action<Foundation.NSError> -> unit

Parameters

matchData
NSData
completionHandler
Action<NSError>

To be added.

This parameter can be null.

Attributes

Applies to