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