Package apple.gamekit

Class GKTurnBasedExchange

  • All Implemented Interfaces:
    NSObject

    public class GKTurnBasedExchange
    extends NSObject
    • Constructor Detail

      • GKTurnBasedExchange

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static GKTurnBasedExchange 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()
      • 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()
      • cancelWithLocalizableMessageKeyArgumentsCompletionHandler

        public void cancelWithLocalizableMessageKeyArgumentsCompletionHandler​(@NotNull
                                                                              @NotNull java.lang.String key,
                                                                              @NotNull
                                                                              @NotNull NSArray<java.lang.String> arguments,
                                                                              @Nullable
                                                                              @Nullable GKTurnBasedExchange.Block_cancelWithLocalizableMessageKeyArgumentsCompletionHandler completionHandler)
        cancel an exchange. It is possible to cancel an exchange that is active or complete. Each recipient will receive a push notification using supplied localizable message. Returns an error if the exchange has already been canceled. API-Since: 7.0
      • completionDate

        @Nullable
        public @Nullable NSDate completionDate()
        date when this exchange completed
      • data

        @Nullable
        public @Nullable NSData data()
        data to send with the exchange.
      • exchangeID

        @Nullable
        public @Nullable java.lang.String exchangeID()
        persistent identifier used to refer to this exchange.
      • message

        @Nullable
        public @Nullable java.lang.String message()
        localized message for the push notification sent to all recipients of this exchange
      • recipients

        @Nullable
        public @Nullable NSArray<? extends GKTurnBasedParticipant> recipients()
        participants who are the recipients of the exchange
      • replyWithLocalizableMessageKeyArgumentsDataCompletionHandler

        public void replyWithLocalizableMessageKeyArgumentsDataCompletionHandler​(@NotNull
                                                                                 @NotNull java.lang.String key,
                                                                                 @NotNull
                                                                                 @NotNull NSArray<java.lang.String> arguments,
                                                                                 @NotNull
                                                                                 @NotNull NSData data,
                                                                                 @Nullable
                                                                                 @Nullable GKTurnBasedExchange.Block_replyWithLocalizableMessageKeyArgumentsDataCompletionHandler completionHandler)
        reply to an exchange. The sender will receive a push notification using supplied localizable message. Returns an error if the exchange has already been canceled. API-Since: 7.0
      • sendDate

        @Nullable
        public @Nullable NSDate sendDate()
        send date for the exchange.
      • status

        public byte status()
        status of the exchange
      • timeoutDate

        @Nullable
        public @Nullable NSDate timeoutDate()
        timeout date for the exchange.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.