Interface GKMatchDelegate

All Superinterfaces:
NSObjectProtocol, ObjCProtocol
All Known Implementing Classes:
GKMatchDelegateAdapter

public interface GKMatchDelegate
extends NSObjectProtocol
  • Method Details

    • didReceiveData

      void didReceiveData​(GKMatch match, NSData data, GKPlayer player)
    • didReceiveData

      void didReceiveData​(GKMatch match, NSData data, GKPlayer recipient, GKPlayer player)
      Since:
      Available in iOS 9.0 and later.
    • didChangeConnectionState

      void didChangeConnectionState​(GKMatch match, GKPlayer player, GKPlayerConnectionState state)
    • didFail

      void didFail​(GKMatch match, NSError error)
    • shouldReinviteDisconnectedPlayer

      boolean shouldReinviteDisconnectedPlayer​(GKMatch match, GKPlayer player)
    • didReceiveData

      @Deprecated void didReceiveData​(GKMatch match, NSData data, String playerID)
      Deprecated.
      Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use match:didReceiveData:fromRemotePlayer:
    • didChangeState

      @Deprecated void didChangeState​(GKMatch match, String playerID, GKPlayerConnectionState state)
      Deprecated.
      Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use match:player:didChangeConnectionState:
    • shouldReinvitePlayer

      @Deprecated boolean shouldReinvitePlayer​(GKMatch match, String playerID)
      Deprecated.
      Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use shouldReinviteDisconnectedPlayer: