GKTurnBasedMatch.SaveMergedMatchDataAsync 方法

定义

保存合并的匹配数据而不推进播放,并在完成后运行 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 System.Threading.Tasks.Task SaveMergedMatchDataAsync (Foundation.NSData matchData, GameKit.GKTurnBasedExchange[] exchanges);
abstract member SaveMergedMatchDataAsync : Foundation.NSData * GameKit.GKTurnBasedExchange[] -> System.Threading.Tasks.Task
override this.SaveMergedMatchDataAsync : Foundation.NSData * GameKit.GKTurnBasedExchange[] -> System.Threading.Tasks.Task

参数

matchData
NSData
exchanges
GKTurnBasedExchange[]

返回

表示异步 SaveMergedMatchData 操作的任务

属性

适用于