Editar

Compartir a través de


GKTurnBasedMatch.LoadMatch Method

Definition

Loads the match that is identified by matchId 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("loadMatchWithID:withCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void LoadMatch (string matchId, Action<GameKit.GKTurnBasedMatch,Foundation.NSError> completionHandler);
[Foundation.Export("loadMatchWithID:withCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public static void LoadMatch (string matchId, Action<GameKit.GKTurnBasedMatch,Foundation.NSError> completionHandler);
static member LoadMatch : string * Action<GameKit.GKTurnBasedMatch, Foundation.NSError> -> unit

Parameters

matchId
String
completionHandler
Action<GKTurnBasedMatch,NSError>

To be added.

This parameter can be null.

Attributes

Applies to