Package apple.uikit

Class UIWindowScene

    • Constructor Detail

      • UIWindowScene

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static UIWindowScene 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()
      • 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)
      • interfaceOrientation

        public long interfaceOrientation()
      • 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)
      • screen

        @NotNull
        public @NotNull UIScreen screen()
      • screenshotService

        @Nullable
        public @Nullable UIScreenshotService screenshotService()
        The screenshot object associated with the scene This is non-null if the screenshot service is available for this window scene
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • sizeRestrictions

        @Nullable
        public @Nullable UISceneSizeRestrictions sizeRestrictions()
        Restrictions which the system should use when resizing the scene. This property will be NULL on platforms which don't support scene resize, else a mutable object is returned which the client may customize. API-Since: 13.0
      • statusBarManager

        @Nullable
        public @Nullable UIStatusBarManager statusBarManager()
        API-Since: 13.0
      • superclass_static

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

        public static long version_static()
      • windows

        @NotNull
        public @NotNull NSArray<? extends UIWindow> windows()
        The array of all windows associated with this UIWindowScene
      • activityItemsConfigurationSource

        @Nullable
        public @Nullable UIActivityItemsConfigurationProviding activityItemsConfigurationSource()
        An optional object used as a source of scene-level activity items configuration If this property returns @c nil, the @c activityItemsConfiguration property of the most-presented view controller of the scene's key window will be used for scene-level sharing and activities. API-Since: 15.0
      • focusSystem

        @Nullable
        public @Nullable UIFocusSystem focusSystem()
        Returns the focus system that is responsible for this scene or nil if this scene does not support focus. API-Since: 15.0
      • keyWindow

        @Nullable
        public @Nullable UIWindow keyWindow()
        The key window for this UIWindowScene API-Since: 15.0
      • setActivityItemsConfigurationSource_unsafe

        public void setActivityItemsConfigurationSource_unsafe​(@Nullable
                                                               @Nullable UIActivityItemsConfigurationProviding value)
        An optional object used as a source of scene-level activity items configuration If this property returns @c nil, the @c activityItemsConfiguration property of the most-presented view controller of the scene's key window will be used for scene-level sharing and activities. API-Since: 15.0
      • setActivityItemsConfigurationSource

        public void setActivityItemsConfigurationSource​(@Nullable
                                                        @Nullable UIActivityItemsConfigurationProviding value)
        An optional object used as a source of scene-level activity items configuration If this property returns @c nil, the @c activityItemsConfiguration property of the most-presented view controller of the scene's key window will be used for scene-level sharing and activities. API-Since: 15.0
      • effectiveGeometry

        @NotNull
        public @NotNull UIWindowSceneGeometry effectiveGeometry()
        Provides the current resolved values for the window scene's geometry in system space. API-Since: 16.0
      • isFullScreen

        public boolean isFullScreen()
      • windowingBehaviors

        @Nullable
        public @Nullable UISceneWindowingBehaviors windowingBehaviors()
        Additional window behaviors which may be platform specific. This property will be nil on unsupported platforms, otherwise will provide a mutable object for window behavior customization. API-Since: 16.0
      • registerForTraitChangesWithTargetAction

        @NotNull
        public @NotNull UITraitChangeRegistration registerForTraitChangesWithTargetAction​(@NotNull
                                                                                          @NotNull NSArray<?> traits,
                                                                                          @NotNull
                                                                                          @NotNull java.lang.Object target,
                                                                                          @NotNull
                                                                                          @NotNull org.moe.natj.objc.SEL action)
        Description copied from interface: UITraitChangeObservable
        The action method you use with the following registration APIs may have zero, one, or two parameters. If the method accepts at least one parameter, the first parameter will be the trait environment whose traits are changing. If the method accepts two parameters, the second parameter will be the trait environment's previous trait collection before the change.
        Specified by:
        registerForTraitChangesWithTargetAction in interface UITraitChangeObservable
      • traitCollectionDidChange

        @Deprecated
        public void traitCollectionDidChange​(@Nullable
                                             @Nullable UITraitCollection previousTraitCollection)
        Deprecated.
        Description copied from interface: UITraitEnvironment
        To be overridden as needed to provide custom behavior when the environment's traits change. API-Since: 8.0 Deprecated-Since: 17.0 Deprecated-Message: Use the trait change registration APIs declared in the UITraitChangeObservable protocol
        Specified by:
        traitCollectionDidChange in interface UITraitEnvironment
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.