Package apple.gamekit

Class GKGameCenterViewController

    • Constructor Detail

      • GKGameCenterViewController

        protected GKGameCenterViewController​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • attemptRotationToDeviceOrientation

        @Deprecated
        public static void attemptRotationToDeviceOrientation()
        Deprecated.
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • clearTextInputContextIdentifier

        public static void clearTextInputContextIdentifier​(@NotNull
                                                           @NotNull java.lang.String identifier)
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • initWithNavigationBarClassToolbarClass

        public GKGameCenterViewController initWithNavigationBarClassToolbarClass​(@Nullable
                                                                                 @Nullable org.moe.natj.objc.Class navigationBarClass,
                                                                                 @Nullable
                                                                                 @Nullable org.moe.natj.objc.Class toolbarClass)
        Description copied from class: UINavigationController
        Use this initializer to make the navigation controller use your custom bar class. Passing nil for navigationBarClass will get you UINavigationBar, nil for toolbarClass gets UIToolbar. The arguments must otherwise be subclasses of the respective UIKit classes. API-Since: 5.0
        Overrides:
        initWithNavigationBarClassToolbarClass in class UINavigationController
      • leaderboardCategory

        @Nullable
        @Deprecated
        public @Nullable java.lang.String leaderboardCategory()
        Deprecated.
        API-Since: 4.1 Deprecated-Since: 7.0
      • leaderboardIdentifier

        @Nullable
        @Deprecated
        public @Nullable java.lang.String leaderboardIdentifier()
        Deprecated.
        API-Since: 7.0 Deprecated-Since: 14.0
      • leaderboardTimeScope

        @Deprecated
        public long leaderboardTimeScope()
        Deprecated.
        API-Since: 4.1 Deprecated-Since: 14.0
      • setLeaderboardCategory

        @Deprecated
        public void setLeaderboardCategory​(@Nullable
                                           @Nullable java.lang.String value)
        Deprecated.
        API-Since: 4.1 Deprecated-Since: 7.0
      • setLeaderboardIdentifier

        @Deprecated
        public void setLeaderboardIdentifier​(@Nullable
                                             @Nullable java.lang.String value)
        Deprecated.
        API-Since: 7.0 Deprecated-Since: 14.0
      • setLeaderboardTimeScope

        @Deprecated
        public void setLeaderboardTimeScope​(long value)
        Deprecated.
        API-Since: 4.1 Deprecated-Since: 14.0
      • setViewState

        @Deprecated
        public void setViewState​(long value)
        Deprecated.
        API-Since: 6.0 Deprecated-Since: 14.0
      • viewState

        @Deprecated
        public long viewState()
        Deprecated.
        API-Since: 6.0 Deprecated-Since: 14.0
      • initWithAchievementID

        public GKGameCenterViewController initWithAchievementID​(@NotNull
                                                                @NotNull java.lang.String achievementID)
        Use this to display the details associated with the specified achievementID API-Since: 14.0
      • initWithLeaderboardPlayerScope

        public GKGameCenterViewController initWithLeaderboardPlayerScope​(@NotNull
                                                                         @NotNull GKLeaderboard leaderboard,
                                                                         long playerScope)
        Use this to display the scores for the specified leaderboard and player scope. Both classic and recurring leaderboards can use this method to initialize the view with their scores. API-Since: 14.0
      • initWithLeaderboardIDPlayerScopeTimeScope

        public GKGameCenterViewController initWithLeaderboardIDPlayerScopeTimeScope​(@NotNull
                                                                                    @NotNull java.lang.String leaderboardID,
                                                                                    long playerScope,
                                                                                    long timeScope)
        Use this to display the scores for the specified leaderboardID, player scope and time scope. The time scope is only applicable to classic leaderboards. Recurring leaderboards will always be displayed initially with the results (scores) associated with the current instance of the leaderboard. API-Since: 14.0
      • initWithState

        public GKGameCenterViewController initWithState​(long state)
        Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements. API-Since: 14.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.