Package apple.gamekit

Class GKMatchmakerViewController

    • Constructor Detail

      • GKMatchmakerViewController

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • attemptRotationToDeviceOrientation

        public static void attemptRotationToDeviceOrientation()
      • automaticallyNotifiesObserversForKey

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

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

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

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

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

        public static void clearTextInputContextIdentifier​(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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • prepareInterstitialAds

        public static void prepareInterstitialAds()
      • 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()
      • addPlayersToMatch

        public void addPlayersToMatch​(GKMatch match)
        Add additional players (not currently connected) to an existing peer-to-peer match. Apps should elect a single device to do this, otherwise conflicts could arise resulting in unexpected connection errors.
      • defaultInvitationMessage

        @Deprecated
        public java.lang.String defaultInvitationMessage()
        Deprecated.
        default message to use when inviting friends. Can be edited by the user.
      • initWithInvite

        public GKMatchmakerViewController initWithInvite​(GKInvite invite)
        Initialize with an accepted invite, allowing the user to see the status of other invited players and get notified when the game starts
      • initWithMatchRequest

        public GKMatchmakerViewController initWithMatchRequest​(GKMatchRequest request)
        Initialize with a matchmaking request, allowing the user to send invites and/or start matchmaking
      • initWithNavigationBarClassToolbarClass

        public GKMatchmakerViewController initWithNavigationBarClassToolbarClass​(org.moe.natj.objc.Class navigationBarClass,
                                                                                 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.
        Overrides:
        initWithNavigationBarClassToolbarClass in class UINavigationController
      • isHosted

        public boolean isHosted()
        set to YES to receive hosted (eg. not peer-to-peer) match results. Will cause the controller to return an array of players instead of a match.
      • setHosted

        public void setHosted​(boolean value)
        set to YES to receive hosted (eg. not peer-to-peer) match results. Will cause the controller to return an array of players instead of a match.
      • setDefaultInvitationMessage

        @Deprecated
        public void setDefaultInvitationMessage​(java.lang.String value)
        Deprecated.
        default message to use when inviting friends. Can be edited by the user.
      • setHostedPlayerConnected

        @Deprecated
        public void setHostedPlayerConnected​(java.lang.String playerID,
                                             boolean connected)
        Deprecated.
        This method is obsolete. It will never be invoked and its implementation does nothing**
      • setHostedPlayerDidConnect

        public void setHostedPlayerDidConnect​(GKPlayer player,
                                              boolean connected)
      • setHostedPlayerReady

        @Deprecated
        public void setHostedPlayerReady​(java.lang.String playerID)
        Deprecated.
        This method is obsolete. It will never be invoked and its implementation does nothing**
      • matchmakingMode

        public long matchmakingMode()
        this controls which mode of matchmaking to support in the UI (all, nearby only or automatch only). Throws an exeption if you can not set to the desired mode (due to restrictions)
      • setMatchmakingMode

        public void setMatchmakingMode​(long value)
        this controls which mode of matchmaking to support in the UI (all, nearby only or automatch only). Throws an exeption if you can not set to the desired mode (due to restrictions)