Class STWebHistory

  • All Implemented Interfaces:
    NSObject

    public class STWebHistory
    extends NSObject
    The object you use to delete web-usage data. This class provides an easy way for you to delete web history, including: - All history - History associated to a specific URL - History during a specific time interval API-Since: 14.0
    • Constructor Detail

      • STWebHistory

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static STWebHistory 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()
      • deleteAllHistory

        public void deleteAllHistory()
        Deletes all web history associated with the bundle identifier you specified during initialization.
      • deleteHistoryDuringInterval

        public void deleteHistoryDuringInterval​(@NotNull
                                                @NotNull NSDateInterval interval)
        Deletes web history that occurred during the date interval you specify. - Parameters: - interval: The date interval of web history you want to delete.
      • deleteHistoryForURL

        public void deleteHistoryForURL​(@NotNull
                                        @NotNull NSURL url)
        Deletes all the web history for the URL you specify. The framework references the entire URL to determine which web-usage data to delete. - Parameters: - url: The URL associated with the web history to delete.
      • description_static

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

        public static long hash_static()
      • initWithBundleIdentifierError

        public STWebHistory initWithBundleIdentifierError​(@NotNull
                                                          @NotNull java.lang.String bundleIdentifier,
                                                          @Nullable
                                                          @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
        Creates a web history instance to delete web-usage data associated to the bundle identifier you specify. The default value for `bundleIdentifier` is `Bundle.main.bundleIdentifier`. This is the recommended identifier to use, except for example, if a helper process is presenting web UI and you want to group that web-usage under the main app’s bundle identifier. - Parameters: - bundleIdentifier: The bundle identifier. - error: Any error that occurred while changing the bundle identifier.
      • 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()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.