GKTurnBasedMatch.FindMatchAsync(GKMatchRequest) Method

Definition

Searches for and returns a match to join, and passes the match (which is null if an error occurs) and an error object (whic is null if there is no error) to onCompletion.

public static System.Threading.Tasks.Task<GameKit.GKTurnBasedMatch> FindMatchAsync (GameKit.GKMatchRequest request);
static member FindMatchAsync : GameKit.GKMatchRequest -> System.Threading.Tasks.Task<GameKit.GKTurnBasedMatch>

Parameters

request
GKMatchRequest

Returns

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

Applies to