GKMatchmaker.MatchAsync(GKInvite) Method

Definition

Creates a match for the specified invitation.

[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 System.Threading.Tasks.Task<GameKit.GKMatch> MatchAsync (GameKit.GKInvite invite);
abstract member MatchAsync : GameKit.GKInvite -> System.Threading.Tasks.Task<GameKit.GKMatch>
override this.MatchAsync : GameKit.GKInvite -> System.Threading.Tasks.Task<GameKit.GKMatch>

Parameters

invite
GKInvite

Returns

A task that represents the asynchronous Match operation. The value of the TResult parameter is of type System.Action<GameKit.GKMatch,Foundation.NSError>.

Attributes

Applies to