Condividi tramite


GKLocalPlayer.LoadDefaultLeaderboardCategoryIDAsync Metodo

Definizione

Carica l'ID categoria classifica predefinita del giocatore locale e lo passa a , insieme a completionHandlerun oggetto errore che si null verifica se non si è verificato alcun errore.

[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>

Restituisce

Attività che rappresenta l'operazione LoadDefaultLeaderboardCategoryID asincrona. Il valore del parametro TResult è di tipo System.Action<System.String,Foundation.NSError>.

Attributi

Si applica a