Editar

Compartir a través de


GKLocalPlayer.LoadDefaultLeaderboardCategoryID Method

Definition

Loads the local player's default leaderboard category ID, and passes it to completionHandler, along with an error object that is null if no error occurred.

[Foundation.Export("loadDefaultLeaderboardCategoryIDWithCompletionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'LoadDefaultLeaderboardIdentifier' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'LoadDefaultLeaderboardIdentifier' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void LoadDefaultLeaderboardCategoryID (Action<string,Foundation.NSError> completionHandler);
abstract member LoadDefaultLeaderboardCategoryID : Action<string, Foundation.NSError> -> unit
override this.LoadDefaultLeaderboardCategoryID : Action<string, Foundation.NSError> -> unit

Parameters

completionHandler
Action<String,NSError>

To be added.

This parameter can be null.

Attributes

Applies to