共用方式為


IGKTurnBasedEventHandlerDelegate 介面

定義

介面,表示通訊協定 GKTurnBasedEventHandlerDelegate 的任何) 時, (所需的方法。

[Foundation.Protocol(Name="GKTurnBasedEventHandlerDelegate", WrapperType=typeof(GameKit.GKTurnBasedEventHandlerDelegateWrapper))]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GKLocalPlayer.RegisterListener' with an object that implements 'IGKTurnBasedEventListener'.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'GKLocalPlayer.RegisterListener' with an object that implements 'IGKTurnBasedEventListener'.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IGKTurnBasedEventHandlerDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="GKTurnBasedEventHandlerDelegate", WrapperType=typeof(GameKit.GKTurnBasedEventHandlerDelegateWrapper))]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'GKLocalPlayer.RegisterListener' with an object that implements 'IGKTurnBasedEventListener'.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'GKLocalPlayer.RegisterListener' with an object that implements 'IGKTurnBasedEventListener'.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, 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 IGKTurnBasedEventHandlerDelegate : IDisposable, ObjCRuntime.INativeObject
type IGKTurnBasedEventHandlerDelegate = interface
    interface INativeObject
    interface IDisposable
衍生
屬性
實作

備註

如果從 所 GKTurnBasedEventHandlerDelegate 定義的通訊協定有任何) ,這個介面會包含必要的方法 (。

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

如果類別提供 GKTurnBasedEventHandlerDelegate_Extensions 任何) 做為介面的擴充方法,則選擇性方法 (,讓開發人員可以在通訊協定上叫用任何選擇性方法。

屬性

Handle

處理非受控物件標記法) (指標。

(繼承來源 INativeObject)

方法

HandleInviteFromGameCenter(NSString[])

開發人員不應該使用此已被取代的方法。

HandleTurnEvent(GKTurnBasedMatch, Boolean)

介面,表示通訊協定 GKTurnBasedEventHandlerDelegate 的任何) 時, (所需的方法。

擴充方法

HandleMatchEnded(IGKTurnBasedEventHandlerDelegate, GKTurnBasedMatch)

開發人員不應該使用此已被取代的方法。

HandleTurnEvent(IGKTurnBasedEventHandlerDelegate, GKTurnBasedMatch, Boolean)

介面,表示通訊協定 GKTurnBasedEventHandlerDelegate 的任何) 時, (所需的方法。

HandleTurnEventForMatch(IGKTurnBasedEventHandlerDelegate, GKTurnBasedMatch)

介面,表示通訊協定 GKTurnBasedEventHandlerDelegate 的任何) 時, (所需的方法。

適用於