GKLocalPlayer.ResolveConflictingSavedGames 方法

定义

解决列在 中并存储在 中的conflictingSavedGamesdata指定冲突已保存的游戏,然后将 (冲突游戏的所有游戏的列表先) 传递给 handler,以及一个错误对象(null如果未发生错误)。

[Foundation.Export("resolveConflictingSavedGames:withData:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ResolveConflictingSavedGames (GameKit.GKSavedGame[] conflictingSavedGames, Foundation.NSData data, Action<GameKit.GKSavedGame[],Foundation.NSError> handler);
abstract member ResolveConflictingSavedGames : GameKit.GKSavedGame[] * Foundation.NSData * Action<GameKit.GKSavedGame[], Foundation.NSError> -> unit
override this.ResolveConflictingSavedGames : GameKit.GKSavedGame[] * Foundation.NSData * Action<GameKit.GKSavedGame[], Foundation.NSError> -> unit

参数

conflictingSavedGames
GKSavedGame[]
data
NSData
handler
Action<GKSavedGame[],NSError>

内容待定。

此参数可以为 null

属性

适用于