Compartir a través de


GKLeaderboard.SetDefaultLeaderboard(String, Action<NSError>) Método

Definición

En desuso.

[Foundation.Export("setDefaultLeaderboard:withCompletionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SetDefaultLeaderboard' on 'GKLocalPlayer' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'SetDefaultLeaderboard' on 'GKLocalPlayer' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void SetDefaultLeaderboard (string leaderboardIdentifier, Action<Foundation.NSError> notificationHandler);
static member SetDefaultLeaderboard : string * Action<Foundation.NSError> -> unit

Parámetros

leaderboardIdentifier
String

Se agregará.

Este parámetro puede ser null.

notificationHandler
Action<NSError>

Se agregará.

Este parámetro puede ser null.

Atributos

Se aplica a