GKLocalPlayer.SetDefaultLeaderboardIdentifierAsync(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.
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..
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task SetDefaultLeaderboardIdentifierAsync (string leaderboardIdentifier);
abstract member SetDefaultLeaderboardIdentifierAsync : string -> System.Threading.Tasks.Task
override this.SetDefaultLeaderboardIdentifierAsync : string -> System.Threading.Tasks.Task
Parameters
- leaderboardIdentifier
- String
Returns
A task that represents the asynchronous SetDefaultLeaderboardIdentifier operation
- Attributes