Class NSURLSessionTaskMetrics

  • All Implemented Interfaces:
    NSObject

    public class NSURLSessionTaskMetrics
    extends NSObject
    API-Since: 10.0
    • Constructor Detail

      • NSURLSessionTaskMetrics

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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)
      • new_objc

        @Deprecated
        public static NSURLSessionTaskMetrics new_objc()
        Deprecated.
        API-Since: 10.0 Deprecated-Since: 13.0 Deprecated-Message: Not supported
      • 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()
      • init

        @Deprecated
        public NSURLSessionTaskMetrics init()
        Deprecated.
        API-Since: 10.0 Deprecated-Since: 13.0 Deprecated-Message: Not supported
        Overrides:
        init in class NSObject
      • redirectCount

        public long redirectCount()
        redirectCount is the number of redirects that were recorded.
      • taskInterval

        @NotNull
        public @NotNull NSDateInterval taskInterval()
        Interval from the task creation time to the task completion time. Task creation time is the time when the task was instantiated. Task completion time is the time when the task is about to change its internal state to completed.
      • transactionMetrics

        @NotNull
        public @NotNull NSArray<? extends NSURLSessionTaskTransactionMetrics> transactionMetrics()
        transactionMetrics array contains the metrics collected for every request/response transaction created during the task execution.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.