Condividi tramite


GKLeaderboard.SetDefaultLeaderboard(String, Action<NSError>) Metodo

Definizione

Deprecato.

[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

Parametri

leaderboardIdentifier
String

Da aggiungere.

Questo parametro può essere null.

notificationHandler
Action<NSError>

Da aggiungere.

Questo parametro può essere null.

Attributi

Si applica a