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

Definition

Deprecated.

[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

Parameters

leaderboardIdentifier
String

To be added.

This parameter can be null.

notificationHandler
Action<NSError>

To be added.

This parameter can be null.

Attributes

Applies to