GKLocalPlayer.FetchSavedGames(Action<GKSavedGame[],NSError>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves all saved games and passes them to handler
, along with null
for success, or an error on failure.
[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
Parameters
- Attributes