Share via


GKTurnBasedMatch.LoadMatchesAsync Method

Definition

Asynchronously loads all the matches for the current player.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task<GameKit.GKTurnBasedMatch[]> LoadMatchesAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member LoadMatchesAsync : unit -> System.Threading.Tasks.Task<GameKit.GKTurnBasedMatch[]>

Returns

A task that represents the asynchronous LoadMatches operation. The value of the TResult parameter is a GameKit.GKTurnBasedMatchesRequest.

Attributes

Applies to