Compartilhar via


IGKChallengeEventHandlerDelegate Interface

Definição

Interface que representa os métodos necessários (se houver) do 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
Implementações

Comentários

Essa interface contém os métodos necessários (se houver) do protocolo definido por GKChallengeEventHandlerDelegate.

Se os desenvolvedores criarem classes que implementam essa interface, os métodos de implementação serão exportados automaticamente para Objective-C com a assinatura correspondente do método definido no GKChallengeEventHandlerDelegate protocolo.

Métodos opcionais (se houver) são fornecidos pela GKChallengeEventHandlerDelegate_Extensions classe como métodos de extensão para a interface, permitindo que os desenvolvedores invoquem quaisquer métodos opcionais no protocolo.

Propriedades

Handle

Manipule (ponteiro) para a representação de objeto não gerenciado.

(Herdado de INativeObject)

Métodos de Extensão

LocalPlayerCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

Interface que representa os métodos necessários (se houver) do protocolo GKChallengeEventHandlerDelegate.

LocalPlayerReceivedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

Interface que representa os métodos necessários (se houver) do protocolo GKChallengeEventHandlerDelegate.

LocalPlayerSelectedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

Interface que representa os métodos necessários (se houver) do protocolo GKChallengeEventHandlerDelegate.

RemotePlayerCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

Interface que representa os métodos necessários (se houver) do protocolo GKChallengeEventHandlerDelegate.

ShouldShowBannerForLocallyCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

Interface que representa os métodos necessários (se houver) do protocolo GKChallengeEventHandlerDelegate.

ShouldShowBannerForLocallyReceivedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

Interface que representa os métodos necessários (se houver) do protocolo GKChallengeEventHandlerDelegate.

ShouldShowBannerForRemotelyCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

Interface que representa os métodos necessários (se houver) do protocolo GKChallengeEventHandlerDelegate.

Aplica-se a