Compartilhar via


GKMatchmaker.MatchAsync(GKInvite) Método

Definição

Cria uma correspondência para o convite especificado.

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

Parâmetros

invite
GKInvite

Retornos

Uma tarefa que representa a operação de correspondência assíncrona. O valor do parâmetro TResult é do tipo System.Action<GameKit.GKMatch,Foundation.NSError>.

Atributos

Aplica-se a