Class STWebpageController

    • Constructor Detail

      • STWebpageController

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

      • URL

        @Nullable
        public @Nullable NSURL URL()
        The URL for the webpage. Set this value to the webpage’s URL when the user navigates to a new URL.
      • URLIsBlocked

        public boolean URLIsBlocked()
        A Boolean that indicates whether a parent or guardian has blocked the URL. When a parent or guardian blocks the webpage’s URL, the webpage controller displays a blocking UI and then sets this property to `YES`.
      • URLIsPictureInPicture

        public boolean URLIsPictureInPicture()
        A Boolean that indicates whether the webpage is currently displaying a floating picture in picture window. The default value is `NO`. Set this value when the webpage starts or stops displaying a Picture in Picture window. - Important: Set this value to `NO` prior to changing ``ScreenTime/STWebpageController/URL`` if the new webpage at that URL ends all currently displayed Picture in Picture windows, and won’t immediately display a new one.
      • URLIsPlayingVideo

        public boolean URLIsPlayingVideo()
        A Boolean that indicates whether there are one or more videos currently playing in the webpage. The default value is `NO`. Set this value when the webpage starts or stops playing video. - Important: Set this value to `NO` prior to changing ``ScreenTime/STWebpageController/URL`` if the new webpage at that URL stops currently playing media and won’t immediately start playing new media.
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

        @Deprecated
        public static void attemptRotationToDeviceOrientation()
        Deprecated.
      • 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()
      • initWithNibNameBundle

        public STWebpageController initWithNibNameBundle​(@Nullable
                                                         @Nullable java.lang.String nibNameOrNil,
                                                         @Nullable
                                                         @Nullable NSBundle nibBundleOrNil)
        Description copied from class: UIViewController
        The designated initializer. If you subclass UIViewController, you must call the super implementation of this method, even if you aren't using a NIB. (As a convenience, the default init method will do this for you, and specify nil for both of this methods arguments.) In the specified NIB, the File's Owner proxy should have its class set to your view controller subclass, with the view outlet connected to the main view. If you invoke this method with a nil nib name, then this class' -loadView method will attempt to load a NIB whose name is the same as your view controller's class. If no such NIB in fact exists then you must either call -setView: before -view is invoked, or override the -loadView method to set up your views programatically.
        Overrides:
        initWithNibNameBundle in class UIViewController
      • 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)
      • setBundleIdentifierError

        public boolean setBundleIdentifierError​(@NotNull
                                                @NotNull java.lang.String bundleIdentifier,
                                                @Nullable
                                                @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
        Changes the bundle identifier used to report web usage. This is only supported for web browsers that have been properly registered with Screen Time. - Parameters: - bundleIdentifier: The bundle identifier that can be changed to facilitate web usage reporting for a parent web browser from one of its helper processes or extensions. - error: Any error that occurred while changing the bundle identifier.
      • setSuppressUsageRecording

        public void setSuppressUsageRecording​(boolean value)
        A Boolean that indicates whether the webpage controller is not recording web usage. Set to `YES` to stop recording and reporting web-usage data.
      • setURL

        public void setURL​(@Nullable
                           @Nullable NSURL value)
        The URL for the webpage. Set this value to the webpage’s URL when the user navigates to a new URL.
      • setURLIsPictureInPicture

        public void setURLIsPictureInPicture​(boolean value)
        A Boolean that indicates whether the webpage is currently displaying a floating picture in picture window. The default value is `NO`. Set this value when the webpage starts or stops displaying a Picture in Picture window. - Important: Set this value to `NO` prior to changing ``ScreenTime/STWebpageController/URL`` if the new webpage at that URL ends all currently displayed Picture in Picture windows, and won’t immediately display a new one.
      • setURLIsPlayingVideo

        public void setURLIsPlayingVideo​(boolean value)
        A Boolean that indicates whether there are one or more videos currently playing in the webpage. The default value is `NO`. Set this value when the webpage starts or stops playing video. - Important: Set this value to `NO` prior to changing ``ScreenTime/STWebpageController/URL`` if the new webpage at that URL stops currently playing media and won’t immediately start playing new media.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public boolean suppressUsageRecording()
        A Boolean that indicates whether the webpage controller is not recording web usage. Set to `YES` to stop recording and reporting web-usage data.
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.