IGKChallengeEventHandlerDelegate 接口

定义

表示所需方法的接口 ((如果协议 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
派生
属性
实现

注解

此接口包含所需的方法 ((如果定义协议 GKChallengeEventHandlerDelegate有任何) )。

如果开发人员创建实现此接口的类,则实现方法将自动导出到具有协议中 GKChallengeEventHandlerDelegate 定义的方法的匹配签名的 Objective-C。

如果类提供任何) GKChallengeEventHandlerDelegate_Extensions 作为接口的扩展方法,则可选方法 (,从而允许开发人员调用协议上的任何可选方法。

属性

Handle

处理指向非托管对象表示形式的 (指针) 。

(继承自 INativeObject)

扩展方法

LocalPlayerCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

表示所需方法的接口 ((如果协议 GKChallengeEventHandlerDelegate有任何) )。

LocalPlayerReceivedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

表示所需方法的接口 ((如果协议 GKChallengeEventHandlerDelegate有任何) )。

LocalPlayerSelectedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

表示所需方法的接口 ((如果协议 GKChallengeEventHandlerDelegate有任何) )。

RemotePlayerCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

表示所需方法的接口 ((如果协议 GKChallengeEventHandlerDelegate有任何) )。

ShouldShowBannerForLocallyCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

表示所需方法的接口 ((如果协议 GKChallengeEventHandlerDelegate有任何) )。

ShouldShowBannerForLocallyReceivedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

表示所需方法的接口 ((如果协议 GKChallengeEventHandlerDelegate有任何) )。

ShouldShowBannerForRemotelyCompletedChallenge(IGKChallengeEventHandlerDelegate, GKChallenge)

表示所需方法的接口 ((如果协议 GKChallengeEventHandlerDelegate有任何) )。

适用于