GKMatchmaker.Match(GKInvite, Action<GKMatch,NSError>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为指定的邀请创建匹配项。
[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
参数
- invite
- GKInvite
- 属性