Szerkesztés

Megosztás a következőn keresztül:


IGKTurnBasedEventHandlerDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol 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
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by GKTurnBasedEventHandlerDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the GKTurnBasedEventHandlerDelegate protocol.

Optional methods (if any) are provided by the GKTurnBasedEventHandlerDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleInviteFromGameCenter(NSString[])

Developers should not use this deprecated method.

HandleTurnEvent(GKTurnBasedMatch, Boolean)

Extension Methods

HandleMatchEnded(IGKTurnBasedEventHandlerDelegate, GKTurnBasedMatch)

Developers should not use this deprecated method.

HandleTurnEvent(IGKTurnBasedEventHandlerDelegate, GKTurnBasedMatch, Boolean)
HandleTurnEventForMatch(IGKTurnBasedEventHandlerDelegate, GKTurnBasedMatch)

Applies to