Condividi tramite


GKLocalPlayer.FetchSavedGames(Action<GKSavedGame[],NSError>) Metodo

Definizione

Recupera tutti i giochi salvati e li passa a , insieme null all'esito handlerpositivo o a un errore in caso di errore.

[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

Parametri

handler
Action<GKSavedGame[],NSError>

Da aggiungere.

Questo parametro può essere null.

Attributi

Si applica a