public class HKActivitySummary extends NSObject implements NSSecureCoding, NSCopying
An object that represents a summary of a user's activity for a given day.
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
HKActivitySummary(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
HKQuantity |
activeEnergyBurned()
[@property] activeEnergyBurned
|
HKQuantity |
activeEnergyBurnedGoal()
[@property] activeEnergyBurnedGoal
|
long |
activityMoveMode()
[@property] activityMoveMode
|
static HKActivitySummary |
alloc() |
static HKActivitySummary |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
HKQuantity |
appleExerciseTime()
[@property] appleExerciseTime
|
HKQuantity |
appleExerciseTimeGoal()
[@property] appleExerciseTimeGoal
|
HKQuantity |
appleMoveTime()
[@property] appleMoveTime
|
HKQuantity |
appleMoveTimeGoal()
[@property] appleMoveTimeGoal
|
HKQuantity |
appleStandHours()
[@property] appleStandHours
|
HKQuantity |
appleStandHoursGoal()
[@property] appleStandHoursGoal
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSDateComponents |
dateComponentsForCalendar(NSCalendar calendar)
dateComponentsForCalendar:
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
void |
encodeWithCoder(NSCoder coder) |
static long |
hash_static() |
HKActivitySummary |
init() |
HKActivitySummary |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static HKActivitySummary |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setActiveEnergyBurned(HKQuantity value)
[@property] activeEnergyBurned
|
void |
setActiveEnergyBurnedGoal(HKQuantity value)
[@property] activeEnergyBurnedGoal
|
void |
setActivityMoveMode(long value)
[@property] activityMoveMode
|
void |
setAppleExerciseTime(HKQuantity value)
[@property] appleExerciseTime
|
void |
setAppleExerciseTimeGoal(HKQuantity value)
[@property] appleExerciseTimeGoal
|
void |
setAppleMoveTime(HKQuantity value)
[@property] appleMoveTime
|
void |
setAppleMoveTimeGoal(HKQuantity value)
[@property] appleMoveTimeGoal
|
void |
setAppleStandHours(HKQuantity value)
[@property] appleStandHours
|
void |
setAppleStandHoursGoal(HKQuantity value)
[@property] appleStandHoursGoal
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static HKActivitySummary alloc()
public static HKActivitySummary allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static HKActivitySummary new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public static long version_static()
public HKQuantity activeEnergyBurned()
The amount of active energy that the user burned.
This quantity is compatible with energy units.
public HKQuantity activeEnergyBurnedGoal()
The user's active energy goal for the day.
This quantity is compatible with energy units.
public HKQuantity 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.
public HKQuantity appleExerciseTimeGoal()
The user's exercise time goal for the day.
This quantity is compatible with time units.
public HKQuantity 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.
public HKQuantity appleStandHoursGoal()
The user's active stand hours goal for the day.
This quantity is compatible with the count unit.
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic NSDateComponents dateComponentsForCalendar(NSCalendar calendar)
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.
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic HKActivitySummary init()
public HKActivitySummary initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic void setActiveEnergyBurned(HKQuantity value)
The amount of active energy that the user burned.
This quantity is compatible with energy units.
public void setActiveEnergyBurnedGoal(HKQuantity value)
The user's active energy goal for the day.
This quantity is compatible with energy units.
public void setAppleExerciseTime(HKQuantity value)
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.
public void setAppleExerciseTimeGoal(HKQuantity value)
The user's exercise time goal for the day.
This quantity is compatible with time units.
public void setAppleStandHours(HKQuantity value)
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.
public void setAppleStandHoursGoal(HKQuantity value)
The user's active stand hours goal for the day.
This quantity is compatible with the count unit.
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic long 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.
public HKQuantity 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.
public HKQuantity appleMoveTimeGoal()
The user's move time goal for the day.
This quantity is compatible with time units.
public void setActivityMoveMode(long value)
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.
public void setAppleMoveTime(HKQuantity value)
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.
public void setAppleMoveTimeGoal(HKQuantity value)
The user's move time goal for the day.
This quantity is compatible with time units.