Bagikan melalui


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

Definisi

Membuat kecocokan untuk undangan yang ditentukan.

[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>

Untuk ditambahkan.

Parameter ini dapat berupa null.

Atribut

Berlaku untuk