GKLeaderboard.LoadScoresAsync 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.
Loads scores from the Game Center and then passes them to completionHandler
, along with an error object that is null
if no error occurred.
public virtual System.Threading.Tasks.Task<GameKit.GKScore[]> LoadScoresAsync ();
abstract member LoadScoresAsync : unit -> System.Threading.Tasks.Task<GameKit.GKScore[]>
override this.LoadScoresAsync : unit -> System.Threading.Tasks.Task<GameKit.GKScore[]>
Returns
A task that represents the asynchronous LoadScores operation. The value of the TResult parameter is a GameKit.GKScoresLoadedHandler.