GKLocalPlayer.SetDefaultLeaderboardCategoryID Method

Definition

Deprecated. Sets the local player's default leaderboard category ID, and passes it to completionHandler, along with an error object that is null if no error occurred.

[Foundation.Export("setDefaultLeaderboardCategoryID:completionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SetDefaultLeaderboardIdentifier' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'SetDefaultLeaderboardIdentifier' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetDefaultLeaderboardCategoryID (string categoryID, Action<Foundation.NSError> completionHandler);
[Foundation.Export("setDefaultLeaderboardCategoryID:completionHandler:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SetDefaultLeaderboardIdentifier' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'SetDefaultLeaderboardIdentifier' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetDefaultLeaderboardCategoryID (string categoryID, Action<Foundation.NSError> completionHandler);
abstract member SetDefaultLeaderboardCategoryID : string * Action<Foundation.NSError> -> unit
override this.SetDefaultLeaderboardCategoryID : string * Action<Foundation.NSError> -> unit

Parameters

categoryID
String

To be added.

This parameter can be null.

completionHandler
Action<NSError>

To be added.

This parameter can be null.

Attributes

Applies to