IGKLocalPlayerListener Interface

Definition

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

[Foundation.Protocol(Name="GKLocalPlayerListener", WrapperType=typeof(GameKit.GKLocalPlayerListenerWrapper))]
[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 IGKLocalPlayerListener : GameKit.IGKChallengeListener, GameKit.IGKInviteEventListener, GameKit.IGKSavedGameListener, GameKit.IGKTurnBasedEventListener, IDisposable
type IGKLocalPlayerListener = interface
    interface INativeObject
    interface IDisposable
    interface IGKChallengeListener
    interface IGKInviteEventListener
    interface IGKSavedGameListener
    interface IGKTurnBasedEventListener
Derived
Attributes
Implements

Remarks

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

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

Optional methods (if any) are provided by the T:GameKit.GKLocalPlayerListener_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)

Extension Methods

DidCompleteChallenge(IGKChallengeListener, GKPlayer, GKChallenge, GKPlayer)
DidReceiveChallenge(IGKChallengeListener, GKPlayer, GKChallenge)
IssuedChallengeWasCompleted(IGKChallengeListener, GKPlayer, GKChallenge, GKPlayer)
WantsToPlayChallenge(IGKChallengeListener, GKPlayer, GKChallenge)
DidAcceptInvite(IGKInviteEventListener, GKPlayer, GKInvite)
DidRequestMatch(IGKInviteEventListener, GKPlayer, GKPlayer[])
DidRequestMatch(IGKInviteEventListener, GKPlayer, String[])

Developers should not use this deprecated method. Developers should use 'DidRequestMatch (GKPlayer player, GKPlayer[] recipientPlayers)' instead.

DidModifySavedGame(IGKSavedGameListener, GKPlayer, GKSavedGame)
HasConflictingSavedGames(IGKSavedGameListener, GKPlayer, GKSavedGame[])
DidRequestMatchWithOtherPlayers(IGKTurnBasedEventListener, GKPlayer, GKPlayer[])

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

DidRequestMatchWithPlayers(IGKTurnBasedEventListener, GKPlayer, String[])

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

MatchEnded(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedMatch)

Method that is called after the match is ended.

ReceivedExchangeCancellation(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedExchange, GKTurnBasedMatch)

Method that is called after player cancels the exchange.

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

Method that is called after the exchange with player completes.

ReceivedExchangeRequest(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedExchange, GKTurnBasedMatch)

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

ReceivedTurnEvent(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedMatch, Boolean)

Method that is called to activate a turn for player.

WantsToQuitMatch(IGKTurnBasedEventListener, GKPlayer, GKTurnBasedMatch)

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

Applies to