Share via


GKTurnBasedMatch.LoadMatchAsync(String) Method

Definition

Asynchronously loads the match that is identified by matchId and returns it (null if an error occurs).

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

Parameters

matchId
String

Returns

A task that represents the asynchronous LoadMatch operation. The value of the TResult parameter is of type System.Action<GameKit.GKTurnBasedMatch,Foundation.NSError>.

Attributes

Applies to