Editar

Compartilhar via


GKLeaderboard.LoadCategoriesAsync Method

Definition

Deprecated.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'LoadLeaderboards' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.None, "Use 'LoadLeaderboards' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task<GameKit.GKCategoryResult> LoadCategoriesAsync ();
static member LoadCategoriesAsync : unit -> System.Threading.Tasks.Task<GameKit.GKCategoryResult>

Returns

A task that represents the asynchronous LoadCategories operation. The value of the TResult parameter is of type GameKit.GKCategoryResult. Category and title results from the asynchronous method.

Attributes

Applies to