Editar

Compartilhar via


GKTurnBasedMatch.FindMatch(GKMatchRequest, GKTurnBasedMatchRequest) 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.

[Foundation.Export("findMatchForRequest:withCompletionHandler:")]
public static void FindMatch (GameKit.GKMatchRequest request, GameKit.GKTurnBasedMatchRequest onCompletion);
static member FindMatch : GameKit.GKMatchRequest * GameKit.GKTurnBasedMatchRequest -> unit

Parameters

request
GKMatchRequest
Attributes

Applies to