Düzenle

Aracılığıyla paylaş


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

[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 System.Threading.Tasks.Task<string> LoadDefaultLeaderboardCategoryIDAsync ();
abstract member LoadDefaultLeaderboardCategoryIDAsync : unit -> System.Threading.Tasks.Task<string>
override this.LoadDefaultLeaderboardCategoryIDAsync : unit -> System.Threading.Tasks.Task<string>

Returns

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

Attributes

Applies to