Freigeben über


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

Definition

Veraltet.

[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

Parameter

leaderboardIdentifier
String

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

notificationHandler
Action<NSError>

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

Attribute

Gilt für: