Package apple.uikit

Class UIScene

    • Constructor Detail

      • UIScene

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • activationConditions

        @NotNull
        public @NotNull UISceneActivationConditions activationConditions()
        use the activation conditions to influence which scene is activated for banner taps, URLs, etc.
      • activationState

        public long activationState()
        the activation state of this scene
      • alloc

        public static UIScene alloc()
      • allocWithZone

        public static UIScene 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()
      • clearTextInputContextIdentifier

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

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

        @Nullable
        public @Nullable java.lang.Object delegate()
        UIScene is strongly retained by UIKit like UIApplication, however, unlike UIApplication, the delegate may not need to live for the whole lifetime of the process. A strong ref here relieves clients of the responsibility of managing the delegate lifetime directly.
      • description_static

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

        public static long hash_static()
      • initWithSessionConnectionOptions

        public UIScene initWithSessionConnectionOptions​(@NotNull
                                                        @NotNull UISceneSession session,
                                                        @NotNull
                                                        @NotNull UISceneConnectionOptions connectionOptions)
        An initializer for subclasses, will be called by UIKit and not intended to be called by applications.
      • 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)
      • new_objc

        public static UIScene new_objc()
      • openURLOptionsCompletionHandler

        public void openURLOptionsCompletionHandler​(@NotNull
                                                    @NotNull NSURL url,
                                                    @Nullable
                                                    @Nullable UISceneOpenExternalURLOptions options,
                                                    @Nullable
                                                    @Nullable UIScene.Block_openURLOptionsCompletionHandler completion)
        Options are specified in the UIApplication.h section for openURL options. An empty options dictionary will result in the same behavior as the older openURL call, aside from the fact that this is asynchronous and calls the completion handler rather than returning a result. The completion handler is called on the main queue.
      • resolveClassMethod

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

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

        @NotNull
        public @NotNull UISceneSession session()
        The existing representation which references this UIScene instance
      • setActivationConditions

        public void setActivationConditions​(@NotNull
                                            @NotNull UISceneActivationConditions value)
        use the activation conditions to influence which scene is activated for banner taps, URLs, etc.
      • setDelegate

        public void setDelegate​(@Nullable
                                @Nullable java.lang.Object value)
        UIScene is strongly retained by UIKit like UIApplication, however, unlike UIApplication, the delegate may not need to live for the whole lifetime of the process. A strong ref here relieves clients of the responsibility of managing the delegate lifetime directly.
      • setTitle

        public void setTitle​(java.lang.String value)
        A title for the scene to allow the system to differentiate multiple scenes for the user. If set to nil or an empty string, the system will not display a title.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public java.lang.String title()
        A title for the scene to allow the system to differentiate multiple scenes for the user. If set to nil or an empty string, the system will not display a title.
      • version_static

        public static long version_static()
      • pointerLockState

        @Nullable
        public @Nullable UIPointerLockState pointerLockState()
        API-Since: 14.0
      • completeStateRestoration

        public void completeStateRestoration()
      • extendStateRestoration

        public void extendStateRestoration()
      • setSubtitle

        public void setSubtitle​(@NotNull
                                @NotNull java.lang.String value)
        A subtitle that may be displayed adjacent to or below the primary title on supported platforms. If set to an empty string, the system will not display a subtitle. API-Since: 15.0
      • subtitle

        @NotNull
        public @NotNull java.lang.String subtitle()
        A subtitle that may be displayed adjacent to or below the primary title on supported platforms. If set to an empty string, the system will not display a subtitle. API-Since: 15.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.