Compartir a través de


IGKChallengeEventHandlerDelegate Interfaz

Definición

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

[Foundation.Protocol(Name="GKChallengeEventHandlerDelegate", WrapperType=typeof(GameKit.GKChallengeEventHandlerDelegateWrapper))]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Implement the 'IGKChallengeListener' interface and register a listener with 'GKLocalPlayer'.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Implement the 'IGKChallengeListener' interface and register a listener with 'GKLocalPlayer'.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IGKChallengeEventHandlerDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="GKChallengeEventHandlerDelegate", WrapperType=typeof(GameKit.GKChallengeEventHandlerDelegateWrapper))]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Implement the 'IGKChallengeListener' interface and register a listener with 'GKLocalPlayer'.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Implement the 'IGKChallengeListener' interface and register a listener with 'GKLocalPlayer'.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IGKChallengeEventHandlerDelegate : IDisposable, ObjCRuntime.INativeObject
type IGKChallengeEventHandlerDelegate = interface
    interface INativeObject
    interface IDisposable
Derivado
Atributos
Implementaciones

Comentarios

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

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

La clase proporciona GKChallengeEventHandlerDelegate_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

LocalPlayerCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

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

LocalPlayerReceivedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

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

LocalPlayerSelectedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

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

RemotePlayerCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

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

ShouldShowBannerForLocallyCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

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

ShouldShowBannerForLocallyReceivedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

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

ShouldShowBannerForRemotelyCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

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

Se aplica a