Edytuj

Udostępnij za pośrednictwem


GKLocalPlayer.SetDefaultLeaderboardIdentifier Method

Definition

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

[Foundation.Export("setDefaultLeaderboardIdentifier:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetDefaultLeaderboardIdentifier (string leaderboardIdentifier, Action<Foundation.NSError> completionHandler);
abstract member SetDefaultLeaderboardIdentifier : string * Action<Foundation.NSError> -> unit
override this.SetDefaultLeaderboardIdentifier : string * Action<Foundation.NSError> -> unit

Parameters

leaderboardIdentifier
String
completionHandler
Action<NSError>

To be added.

This parameter can be null.

Attributes

Applies to