Package apple.gamekit

Class GKAccessPoint

  • All Implemented Interfaces:
    NSObject

    public class GKAccessPoint
    extends NSObject
    API-Since: 14.0
    • Constructor Detail

      • GKAccessPoint

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static GKAccessPoint allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • 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()
      • debugDescription_static

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

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

        public CGRect frameInScreenCoordinates()
      • 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)
      • isActive

        public boolean isActive()
        set this true to enable access point in your app. Setting this will cause the access point to appear after the notification banner is presented. If it already was presented it will appear immediately
      • isPresentingGameCenter

        public boolean isPresentingGameCenter()
        observable property that indicates when the access point is visible.
      • isSubclassOfClass

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

        public boolean isVisible()
      • keyPathsForValuesAffectingValueForKey

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

        public long location()
        These properties control the placement of the widget
      • parentWindow

        @Nullable
        public @Nullable UIWindow parentWindow()
      • resolveClassMethod

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

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

        public void setActive​(boolean value)
        set this true to enable access point in your app. Setting this will cause the access point to appear after the notification banner is presented. If it already was presented it will appear immediately
      • setLocation

        public void setLocation​(long value)
        These properties control the placement of the widget
      • setParentWindow_unsafe

        public void setParentWindow_unsafe​(@Nullable
                                           @Nullable UIWindow value)
      • setParentWindow

        public void setParentWindow​(@Nullable
                                    @Nullable UIWindow value)
      • setShowHighlights

        public void setShowHighlights​(boolean value)
        Set this property to true if you wish to show the highlights for most recent achievement, current rank on default leaderboard, etc
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • shared

        @NotNull
        public static @NotNull GKAccessPoint shared()
      • showHighlights

        public boolean showHighlights()
        Set this property to true if you wish to show the highlights for most recent achievement, current rank on default leaderboard, etc
      • superclass_static

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

        public void triggerAccessPointWithHandler​(@NotNull
                                                  @NotNull GKAccessPoint.Block_triggerAccessPointWithHandler handler)
        this lets the developer trigger the access point as if the user had touched it. This is useful for games that use controllers or the remote on AppleTV. the argument lets you specify a specific state (default, profile, achievements, leaderboards) for GameCenterViewController
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.