GKTurnBasedMatch.SaveCurrentTurnAsync(NSData) Method

Definition

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

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task SaveCurrentTurnAsync (Foundation.NSData matchData);
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task SaveCurrentTurnAsync (Foundation.NSData matchData);
abstract member SaveCurrentTurnAsync : Foundation.NSData -> System.Threading.Tasks.Task
override this.SaveCurrentTurnAsync : Foundation.NSData -> System.Threading.Tasks.Task

Parameters

matchData
NSData

Returns

Task

A task that represents the asynchronous SaveCurrentTurn operation

Attributes

Applies to