Editar

Compartir a través de


GKLocalPlayer.DeleteSavedGames(String, Action<NSError>) Method

Definition

Deletes all saved games that are named name and passes null to handler on success, or an error on failure.

[Foundation.Export("deleteSavedGamesWithName: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 DeleteSavedGames (string name, Action<Foundation.NSError> handler);
abstract member DeleteSavedGames : string * Action<Foundation.NSError> -> unit
override this.DeleteSavedGames : string * Action<Foundation.NSError> -> unit

Parameters

name
String
handler
Action<NSError>

To be added.

This parameter can be null.

Attributes

Applies to