Class GKMatchmakerViewController

All Implemented Interfaces:
NSCoding, NSExtensionRequestHandling, NSObjectProtocol, UIActivityItemsConfigurationProviding, UIAppearanceContainer, UIContentContainer, UIFocusEnvironment, UIPasteConfigurationSupporting, UIResponderStandardEditActions, UIStateRestoring, UITraitEnvironment, UIUserActivityRestoring, ObjCProtocol

public class GKMatchmakerViewController
extends UINavigationController
  • Constructor Details

    • GKMatchmakerViewController

      public GKMatchmakerViewController()
    • GKMatchmakerViewController

      protected GKMatchmakerViewController​(NSObject.Handle h, long handle)
    • GKMatchmakerViewController

      protected GKMatchmakerViewController​(NSObject.SkipInit skipInit)
    • GKMatchmakerViewController

      public GKMatchmakerViewController​(GKMatchRequest request)
    • GKMatchmakerViewController

      public GKMatchmakerViewController​(GKInvite invite)
    • GKMatchmakerViewController

      public GKMatchmakerViewController​(Class<? extends UINavigationBar> navigationBarClass, Class<? extends UIToolbar> toolbarClass)
    • GKMatchmakerViewController

      public GKMatchmakerViewController​(UIViewController rootViewController)
    • GKMatchmakerViewController

      public GKMatchmakerViewController​(String nibNameOrNil, NSBundle nibBundleOrNil)
    • GKMatchmakerViewController

      public GKMatchmakerViewController​(NSCoder coder)
  • Method Details

    • getMatchmakerDelegate

      public GKMatchmakerViewControllerDelegate getMatchmakerDelegate()
    • setMatchmakerDelegate

      public void setMatchmakerDelegate​(GKMatchmakerViewControllerDelegate v)
    • getMatchRequest

      public GKMatchRequest getMatchRequest()
    • isHosted

      public boolean isHosted()
    • setHosted

      public void setHosted​(boolean v)
    • getMatchmakingMode

      public GKMatchmakingMode getMatchmakingMode()
    • setMatchmakingMode

      public void setMatchmakingMode​(GKMatchmakingMode v)
    • canStartWithMinimumPlayers

      public boolean canStartWithMinimumPlayers()
      Since:
      Available in iOS 15.0 and later.
    • setCanStartWithMinimumPlayers

      public void setCanStartWithMinimumPlayers​(boolean v)
      Since:
      Available in iOS 15.0 and later.
    • getDefaultInvitationMessage

      @Deprecated public String getDefaultInvitationMessage()
      Deprecated.
      Deprecated in iOS 7.0.
    • setDefaultInvitationMessage

      @Deprecated public void setDefaultInvitationMessage​(String v)
      Deprecated.
      Deprecated in iOS 7.0.
    • init

      protected long init​(GKMatchRequest request)
    • init

      protected long init​(GKInvite invite)
    • addPlayersToMatch

      public void addPlayersToMatch​(GKMatch match)
    • setHostedPlayer

      public void setHostedPlayer​(GKPlayer player, boolean connected)
    • setHostedPlayer

      @Deprecated public void setHostedPlayer​(String playerID, boolean connected)
      Deprecated.
      Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use setHostedPlayer:didConnect: