GKLeaderboard.SetDefaultLeaderboardAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deprecated.
[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 System.Threading.Tasks.Task SetDefaultLeaderboardAsync (string leaderboardIdentifier);
static member SetDefaultLeaderboardAsync : string -> System.Threading.Tasks.Task
Parameters
- leaderboardIdentifier
- String
Returns
A task that represents the asynchronous SetDefaultLeaderboard operation
- Attributes