共用方式為


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 定義的通訊協定有任何) ,這個介面會包含必要的方法 (。

如果開發人員建立實作此介面的類別,則實作方法會自動匯出至 Objective-C,其中包含通訊協定中所定義方法的 GKChallengeEventHandlerDelegate 相符簽章。

如果類別提供 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 的任何) 時, (所需的方法。

適用於