GKLocalPlayer.LoadDefaultLeaderboardIdentifierAsync 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.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<string> LoadDefaultLeaderboardIdentifierAsync ();
abstract member LoadDefaultLeaderboardIdentifierAsync : unit -> System.Threading.Tasks.Task<string>
override this.LoadDefaultLeaderboardIdentifierAsync : unit -> System.Threading.Tasks.Task<string>

Returns

A task that represents the asynchronous LoadDefaultLeaderboardIdentifier operation. The value of the TResult parameter is of type System.Action<System.String,Foundation.NSError>.

Attributes

Applies to