GKTurnBasedMatch.FindMatchAsync(GKMatchRequest) 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.
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.