Class HKActivitySummary

    • Constructor Detail

      • HKActivitySummary

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static HKActivitySummary 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()
      • 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)
      • 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()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • version_static

        public static long version_static()
      • activeEnergyBurned

        @NotNull
        public @NotNull HKQuantity activeEnergyBurned()
        [@property] activeEnergyBurned The amount of active energy that the user burned. This quantity is compatible with energy units.
      • activeEnergyBurnedGoal

        @NotNull
        public @NotNull HKQuantity activeEnergyBurnedGoal()
        [@property] activeEnergyBurnedGoal The user's active energy goal for the day. This quantity is compatible with energy units.
      • appleExerciseTime

        @NotNull
        public @NotNull HKQuantity appleExerciseTime()
        [@property] appleExerciseTime The amount of exercise time that the user performed. This quantity is compatible with time units. The measurement criteria of exercise time is defined by Apple.
      • appleExerciseTimeGoal

        @NotNull
        @Deprecated
        public @NotNull HKQuantity appleExerciseTimeGoal()
        Deprecated.
        [@property] appleExerciseTimeGoal The user's exercise time goal for the day. This quantity is compatible with time units. API-Since: 9.3 Deprecated-Since: 100000.0
      • appleStandHours

        @NotNull
        public @NotNull HKQuantity appleStandHours()
        [@property] appleStandHours The number of stand hours that the user earned. This quantity is compatible with the count unit. The measurement criteria of stand hours is defined by Apple.
      • appleStandHoursGoal

        @NotNull
        @Deprecated
        public @NotNull HKQuantity appleStandHoursGoal()
        Deprecated.
        [@property] appleStandHoursGoal The user's active stand hours goal for the day. This quantity is compatible with the count unit. API-Since: 9.3 Deprecated-Since: 100000.0
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • dateComponentsForCalendar

        @NotNull
        public @NotNull NSDateComponents dateComponentsForCalendar​(@NotNull
                                                                   @NotNull NSCalendar calendar)
        dateComponentsForCalendar: The date components representing the day for this particular HKActivitySummary. These date components will contain era, year, month, and day components in the provided calendar.
      • setActiveEnergyBurned

        public void setActiveEnergyBurned​(@NotNull
                                          @NotNull HKQuantity value)
        [@property] activeEnergyBurned The amount of active energy that the user burned. This quantity is compatible with energy units.
      • setActiveEnergyBurnedGoal

        public void setActiveEnergyBurnedGoal​(@NotNull
                                              @NotNull HKQuantity value)
        [@property] activeEnergyBurnedGoal The user's active energy goal for the day. This quantity is compatible with energy units.
      • setAppleExerciseTime

        public void setAppleExerciseTime​(@NotNull
                                         @NotNull HKQuantity value)
        [@property] appleExerciseTime The amount of exercise time that the user performed. This quantity is compatible with time units. The measurement criteria of exercise time is defined by Apple.
      • setAppleExerciseTimeGoal

        @Deprecated
        public void setAppleExerciseTimeGoal​(@NotNull
                                             @NotNull HKQuantity value)
        Deprecated.
        [@property] appleExerciseTimeGoal The user's exercise time goal for the day. This quantity is compatible with time units. API-Since: 9.3 Deprecated-Since: 100000.0
      • setAppleStandHours

        public void setAppleStandHours​(@NotNull
                                       @NotNull HKQuantity value)
        [@property] appleStandHours The number of stand hours that the user earned. This quantity is compatible with the count unit. The measurement criteria of stand hours is defined by Apple.
      • setAppleStandHoursGoal

        @Deprecated
        public void setAppleStandHoursGoal​(@NotNull
                                           @NotNull HKQuantity value)
        Deprecated.
        [@property] appleStandHoursGoal The user's active stand hours goal for the day. This quantity is compatible with the count unit. API-Since: 9.3 Deprecated-Since: 100000.0
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
      • activityMoveMode

        public long activityMoveMode()
        [@property] activityMoveMode The move mode of this activity summary The move mode of an activity summary determines if activeEnergyBurned or appleMoveTime are used for the move ring. API-Since: 14.0
      • appleMoveTime

        @NotNull
        public @NotNull HKQuantity appleMoveTime()
        [@property] appleMoveTime The amount of move time that the user performed. This quantity is compatible with time units. The measurement criteria of move time time is defined by Apple. API-Since: 14.0
      • appleMoveTimeGoal

        @NotNull
        public @NotNull HKQuantity appleMoveTimeGoal()
        [@property] appleMoveTimeGoal The user's move time goal for the day. This quantity is compatible with time units. API-Since: 14.0
      • setActivityMoveMode

        public void setActivityMoveMode​(long value)
        [@property] activityMoveMode The move mode of this activity summary The move mode of an activity summary determines if activeEnergyBurned or appleMoveTime are used for the move ring. API-Since: 14.0
      • setAppleMoveTime

        public void setAppleMoveTime​(@NotNull
                                     @NotNull HKQuantity value)
        [@property] appleMoveTime The amount of move time that the user performed. This quantity is compatible with time units. The measurement criteria of move time time is defined by Apple. API-Since: 14.0
      • setAppleMoveTimeGoal

        public void setAppleMoveTimeGoal​(@NotNull
                                         @NotNull HKQuantity value)
        [@property] appleMoveTimeGoal The user's move time goal for the day. This quantity is compatible with time units. API-Since: 14.0
      • exerciseTimeGoal

        @Nullable
        public @Nullable HKQuantity exerciseTimeGoal()
        [@property] exerciseTimeGoal The user's exercise time goal for the day. This quantity is compatible with time units. API-Since: 16.0
      • setExerciseTimeGoal

        public void setExerciseTimeGoal​(@Nullable
                                        @Nullable HKQuantity value)
        [@property] exerciseTimeGoal The user's exercise time goal for the day. This quantity is compatible with time units. API-Since: 16.0
      • setStandHoursGoal

        public void setStandHoursGoal​(@Nullable
                                      @Nullable HKQuantity value)
        [@property] standHoursGoal The user's active stand hours goal for the day. This quantity is compatible with the count unit. API-Since: 16.0
      • standHoursGoal

        @Nullable
        public @Nullable HKQuantity standHoursGoal()
        [@property] standHoursGoal The user's active stand hours goal for the day. This quantity is compatible with the count unit. API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.