IGKMatchmakerViewControllerDelegate Interfaz

Definición

Interfaz que representa los métodos necesarios (si los hay) del protocolo GKMatchmakerViewControllerDelegate.

[Foundation.Protocol(Name="GKMatchmakerViewControllerDelegate", WrapperType=typeof(GameKit.GKMatchmakerViewControllerDelegateWrapper))]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IGKMatchmakerViewControllerDelegate : IDisposable, ObjCRuntime.INativeObject
type IGKMatchmakerViewControllerDelegate = interface
    interface INativeObject
    interface IDisposable
Derivado
Atributos
Implementaciones

Comentarios

Esta interfaz contiene los métodos necesarios (si los hay) del protocolo definido por GKMatchmakerViewControllerDelegate.

Si los desarrolladores crean clases que implementan esta interfaz, los métodos de implementación se exportarán automáticamente a Objective-C con la firma coincidente del método definido en el GKMatchmakerViewControllerDelegate protocolo.

La clase proporciona GKMatchmakerViewControllerDelegate_Extensions métodos opcionales (si los hay) como métodos de extensión a la interfaz, lo que permite a los desarrolladores invocar cualquier método opcional en el protocolo.

Propiedades

Handle

Identificador (puntero) a la representación del objeto no administrado.

(Heredado de INativeObject)

Métodos

DidFailWithError(GKMatchmakerViewController, NSError)

Interfaz que representa los métodos necesarios (si los hay) del protocolo GKMatchmakerViewControllerDelegate.

DidFindHostedPlayers(GKMatchmakerViewController, GKPlayer[])

Interfaz que representa los métodos necesarios (si los hay) del protocolo GKMatchmakerViewControllerDelegate.

DidFindMatch(GKMatchmakerViewController, GKMatch)

Interfaz que representa los métodos necesarios (si los hay) del protocolo GKMatchmakerViewControllerDelegate.

DidFindPlayers(GKMatchmakerViewController, String[])

Los desarrolladores no deben usar este método en desuso. Los desarrolladores deben usar "DidFindHostedPlayers" en su lugar.

WasCancelled(GKMatchmakerViewController)

Interfaz que representa los métodos necesarios (si los hay) del protocolo GKMatchmakerViewControllerDelegate.

Métodos de extensión

HostedPlayerDidAccept(IGKMatchmakerViewControllerDelegate, GKMatchmakerViewController, GKPlayer)

Interfaz que representa los métodos necesarios (si los hay) del protocolo GKMatchmakerViewControllerDelegate.

ReceivedAcceptFromHostedPlayer(IGKMatchmakerViewControllerDelegate, GKMatchmakerViewController, String)

Los desarrolladores no deben usar este método en desuso. Los desarrolladores deben usar "HostedPlayerDidAccept" en su lugar.

Se aplica a