Freigeben über


GKMatchmaker.Match(GKInvite, Action<GKMatch,NSError>) Methode

Definition

Erstellt eine Übereinstimmung für die angegebene Einladung.

[Foundation.Export("matchForInvite:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Match (GameKit.GKInvite invite, Action<GameKit.GKMatch,Foundation.NSError> completionHandler);
abstract member Match : GameKit.GKInvite * Action<GameKit.GKMatch, Foundation.NSError> -> unit
override this.Match : GameKit.GKInvite * Action<GameKit.GKMatch, Foundation.NSError> -> unit

Parameter

invite
GKInvite
completionHandler
Action<GKMatch,NSError>

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

Attribute

Gilt für: