IGKSessionDelegate Interfaz

Definición

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

[Foundation.Protocol(Name="GKSessionDelegate", WrapperType=typeof(GameKit.GKSessionDelegateWrapper))]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'MultipeerConnectivity.MCSessionDelegate' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'MultipeerConnectivity.MCSessionDelegate' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IGKSessionDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="GKSessionDelegate", WrapperType=typeof(GameKit.GKSessionDelegateWrapper))]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'MultipeerConnectivity.MCSessionDelegate' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'MultipeerConnectivity.MCSessionDelegate' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IGKSessionDelegate : IDisposable, ObjCRuntime.INativeObject
type IGKSessionDelegate = interface
    interface INativeObject
    interface IDisposable
Derivado
Atributos
Implementaciones

Comentarios

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

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 GKSessionDelegate protocolo.

La clase proporciona GKSessionDelegate_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 de extensión

FailedWithError(IGKSessionDelegate, GKSession, NSError)

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

PeerChangedState(IGKSessionDelegate, GKSession, String, GKPeerConnectionState)

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

PeerConnectionFailed(IGKSessionDelegate, GKSession, String, NSError)

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

PeerConnectionRequest(IGKSessionDelegate, GKSession, String)

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

Se aplica a