Compartilhar via


GKLocalPlayer.LoadDefaultLeaderboardCategoryIDAsync Método

Definição

Carrega a ID da categoria de placar de líderes padrão do player local e a passa para completionHandler, juntamente com um objeto de erro que é null se nenhum erro ocorreu.

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

Retornos

Uma tarefa que representa a operação assíncrona LoadDefaultLeaderboardCategoryID. O valor do parâmetro TResult é do tipo System.Action<System.String,Foundation.NSError>.

Atributos

Aplica-se a