Class GKGameCenterViewController

All Implemented Interfaces:
NSCoding, NSExtensionRequestHandling, NSObjectProtocol, UIActivityItemsConfigurationProviding, UIAppearanceContainer, UIContentContainer, UIFocusEnvironment, UIPasteConfigurationSupporting, UIResponderStandardEditActions, UIStateRestoring, UITraitEnvironment, UIUserActivityRestoring, ObjCProtocol
Direct Known Subclasses:
GKAchievementViewController, GKLeaderboardViewController

public class GKGameCenterViewController
extends UINavigationController
  • Constructor Details

    • GKGameCenterViewController

      public GKGameCenterViewController()
    • GKGameCenterViewController

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

      protected GKGameCenterViewController​(NSObject.SkipInit skipInit)
    • GKGameCenterViewController

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

      public GKGameCenterViewController​(UIViewController rootViewController)
    • GKGameCenterViewController

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

      public GKGameCenterViewController​(NSCoder coder)
    • GKGameCenterViewController

      public GKGameCenterViewController​(GKGameCenterViewControllerState state)
      Since:
      Available in iOS 14.0 and later.
    • GKGameCenterViewController

      public GKGameCenterViewController​(String leaderboardID, GKLeaderboardPlayerScope playerScope, GKLeaderboardTimeScope timeScope)
      Since:
      Available in iOS 14.0 and later.
    • GKGameCenterViewController

      public GKGameCenterViewController​(GKLeaderboard leaderboard, GKLeaderboardPlayerScope playerScope)
      Since:
      Available in iOS 14.0 and later.
    • GKGameCenterViewController

      public GKGameCenterViewController​(String achievementID)
      Since:
      Available in iOS 14.0 and later.
  • Method Details

    • getGameCenterDelegate

      public GKGameCenterControllerDelegate getGameCenterDelegate()
    • setGameCenterDelegate

      public void setGameCenterDelegate​(GKGameCenterControllerDelegate v)
    • getViewState

      Deprecated.
      Deprecated in iOS 14.0. Use -initWithState: instead
    • setViewState

      @Deprecated public void setViewState​(GKGameCenterViewControllerState v)
      Deprecated.
      Deprecated in iOS 14.0. Use -initWithState: instead
    • getLeaderboardTimeScope

      @Deprecated public GKLeaderboardTimeScope getLeaderboardTimeScope()
      Deprecated.
      Deprecated in iOS 14.0. Use -initWithLeaderboard: instead
    • setLeaderboardTimeScope

      @Deprecated public void setLeaderboardTimeScope​(GKLeaderboardTimeScope v)
      Deprecated.
      Deprecated in iOS 14.0. Use -initWithLeaderboard: instead
    • getLeaderboardIdentifier

      @Deprecated public String getLeaderboardIdentifier()
      Deprecated.
      Deprecated in iOS 14.0. Use -initWithLeaderboard: instead
    • setLeaderboardIdentifier

      @Deprecated public void setLeaderboardIdentifier​(String v)
      Deprecated.
      Deprecated in iOS 14.0. Use -initWithLeaderboard: instead
    • getLeaderboardCategory

      @Deprecated public String getLeaderboardCategory()
      Deprecated.
      Deprecated in iOS 7.0. GKGameCenterViewController's leaderboardCategory property is deprecated. Use -initWithLeaderboard: instead
    • setLeaderboardCategory

      @Deprecated public void setLeaderboardCategory​(String v)
      Deprecated.
      Deprecated in iOS 7.0. GKGameCenterViewController's leaderboardCategory property is deprecated. Use -initWithLeaderboard: instead
    • init

      protected long init​(GKGameCenterViewControllerState state)
      Since:
      Available in iOS 14.0 and later.
    • initWithLeaderboardID$playerScope$timeScope$

      protected long initWithLeaderboardID$playerScope$timeScope$​(String leaderboardID, GKLeaderboardPlayerScope playerScope, GKLeaderboardTimeScope timeScope)
      Since:
      Available in iOS 14.0 and later.
    • init

      protected long init​(GKLeaderboard leaderboard, GKLeaderboardPlayerScope playerScope)
      Since:
      Available in iOS 14.0 and later.
    • init

      protected long init​(String achievementID)
      Since:
      Available in iOS 14.0 and later.