編輯

共用方式為


GKLocalPlayer.LoadDefaultLeaderboardIdentifier Method

Definition

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

[Foundation.Export("loadDefaultLeaderboardIdentifierWithCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void LoadDefaultLeaderboardIdentifier (Action<string,Foundation.NSError> completionHandler);
abstract member LoadDefaultLeaderboardIdentifier : Action<string, Foundation.NSError> -> unit
override this.LoadDefaultLeaderboardIdentifier : Action<string, Foundation.NSError> -> unit

Parameters

completionHandler
Action<String,NSError>

To be added.

This parameter can be null.

Attributes

Applies to