IGKTurnBasedEventListener IGKTurnBasedEventListener Interface

Definition

Interface representing the required methods (if any) of the protocol GKTurnBasedEventListener.

[Foundation.Protocol(Name="GKTurnBasedEventListener", WrapperType=typeof(GameKit.GKTurnBasedEventListenerWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IGKTurnBasedEventListener : IDisposable, ObjCRuntime.INativeObject
type IGKTurnBasedEventListener = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

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

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 GKTurnBasedEventListener protocol.

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

Properties

Handle Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

DidRequestMatchWithOtherPlayers(IGKTurnBasedEventListener, GKPlayer, GKPlayer[]) DidRequestMatchWithOtherPlayers(IGKTurnBasedEventListener, GKPlayer, GKPlayer[])

Method that is called when player requests a match with playersToInvite.

DidRequestMatchWithPlayers(IGKTurnBasedEventListener, GKPlayer, String[]) DidRequestMatchWithPlayers(IGKTurnBasedEventListener, GKPlayer, String[])

Developers should not use this deprecated method. Developers should use 'DidRequestMatchWithOtherPlayers' instead.

MatchEnded(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedMatch) MatchEnded(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedMatch)

Method that is called after the match is ended.

ReceivedExchangeCancellation(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedExchange, GKTurnBasedMatch) ReceivedExchangeCancellation(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedExchange, GKTurnBasedMatch)

Method that is called after player cancels the exchange.

ReceivedExchangeReplies(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedExchangeReply[], GKTurnBasedExchange, GKTurnBasedMatch) ReceivedExchangeReplies(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedExchangeReply[], GKTurnBasedExchange, GKTurnBasedMatch)

Method that is called after the exchange with player completes.

ReceivedExchangeRequest(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedExchange, GKTurnBasedMatch) ReceivedExchangeRequest(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedExchange, GKTurnBasedMatch)

Method that is called when player receives a request for an exchange.

ReceivedTurnEvent(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedMatch, Boolean) ReceivedTurnEvent(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedMatch, Boolean)

Method that is called to activate a turn for player.

WantsToQuitMatch(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedMatch) WantsToQuitMatch(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedMatch)

Method that is called after player indicates that they desire to quit the match.

Applies to