Compartilhar via


GKLocalPlayer.FetchSavedGames(Action<GKSavedGame[],NSError>) Método

Definição

Recupera todos os jogos salvos e os passa para handler, juntamente com null para êxito ou um erro em caso de falha.

[Foundation.Export("fetchSavedGamesWithCompletionHandler:")]
[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 FetchSavedGames (Action<GameKit.GKSavedGame[],Foundation.NSError> handler);
abstract member FetchSavedGames : Action<GameKit.GKSavedGame[], Foundation.NSError> -> unit
override this.FetchSavedGames : Action<GameKit.GKSavedGame[], Foundation.NSError> -> unit

Parâmetros

handler
Action<GKSavedGame[],NSError>

A ser adicionado.

Esse parâmetro pode ser null.

Atributos

Aplica-se a