Package apple.healthkit
Class HKQuery
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.healthkit.HKQuery
-
- All Implemented Interfaces:
NSObject
- Direct Known Subclasses:
HKActivitySummaryQuery,HKAnchoredObjectQuery,HKCorrelationQuery,HKDocumentQuery,HKElectrocardiogramQuery,HKHeartbeatSeriesQuery,HKObserverQuery,HKQuantitySeriesSampleQuery,HKSampleQuery,HKSourceQuery,HKStatisticsCollectionQuery,HKStatisticsQuery,HKWorkoutRouteQuery
public class HKQuery extends NSObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHKQuery(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static HKQueryalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(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.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()static longhash_static()HKQueryinit()static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)static java.lang.Objectnew_objc()HKObjectTypeobjectType()NSPredicatepredicate()static NSPredicatepredicateForActivitySummariesBetweenStartDateComponentsEndDateComponents(NSDateComponents startDateComponents, NSDateComponents endDateComponents)predicateForActivitySummariesBetweenStartDateComponents:endDateComponents: Creates a predicate for use with HKActivitySummaryQuery Creates a query predicate that matches HKActivitySummaries that fall between the given date components.static NSPredicatepredicateForActivitySummaryWithDateComponents(NSDateComponents dateComponents)predicateForActivitySummaryWithDateComponents: Creates a predicate for use with HKActivitySummaryQuery Creates a query predicate that matches HKActivitySummaries with the given date components.static NSPredicatepredicateForCategorySamplesWithOperatorTypeValue(long operatorType, long value)predicateForCategorySamplesWithOperatorType:value: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForClinicalRecordsFromSourceFHIRResourceTypeIdentifier(HKSource source, java.lang.String resourceType, java.lang.String identifier)predicateForClinicalRecordsFromSource:withFHIRResourceType:identifier: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForClinicalRecordsWithFHIRResourceType(java.lang.String resourceType)predicateForClinicalRecordsWithFHIRResourceType: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForElectrocardiogramsWithClassification(long classification)predicateForElectrocardiogramsWithClassification: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForElectrocardiogramsWithSymptomsStatus(long symptomsStatus)predicateForElectrocardiogramsWithSymptomsStatus: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForObjectsAssociatedWithElectrocardiogram(HKElectrocardiogram electrocardiogram)predicateForObjectsAssociatedWithElectrocardiogram: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForObjectsFromDevices(NSSet<? extends HKDevice> devices)predicateForObjectsFromDevices: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForObjectsFromSource(HKSource source)predicateForObjectsFromSource: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForObjectsFromSourceRevisions(NSSet<? extends HKSourceRevision> sourceRevisions)predicateForObjectsFromSourceRevisions: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForObjectsFromSources(NSSet<? extends HKSource> sources)predicateForObjectsFromSources: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForObjectsFromWorkout(HKWorkout workout)predicateForObjectsFromWorkout: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForObjectsWithDevicePropertyAllowedValues(java.lang.String key, NSSet<java.lang.String> allowedValues)predicateForObjectsWithDeviceProperty:allowedValues: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForObjectsWithMetadataKey(java.lang.String key)predicateForObjectsWithMetadataKey: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForObjectsWithMetadataKeyAllowedValues(java.lang.String key, NSArray<?> allowedValues)predicateForObjectsWithMetadataKey:allowedValues: Creates a predicate for use with HKQuery subclasses Creates a query predicate that matches objects with metadata containing a value the matches one of the given values for the given key.static NSPredicatepredicateForObjectsWithMetadataKeyOperatorTypeValue(java.lang.String key, long operatorType, java.lang.Object value)predicateForObjectsWithMetadataKey:operatorType:value: Creates a predicate for use with HKQuery subclasses Creates a query predicate that matches objects with a value for a given metadata key matches the given operator type and value.static NSPredicatepredicateForObjectsWithNoCorrelation()predicateForObjectsNoCorrelation Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForObjectsWithUUIDs(NSSet<? extends NSUUID> UUIDs)predicateForObjectsWithUUIDs: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForObjectWithUUID(NSUUID UUID)predicateForObjectWithUUID: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForQuantitySamplesWithOperatorTypeQuantity(long operatorType, HKQuantity quantity)predicateForQuantitySamplesWithOperatorType:quantity: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForSamplesWithStartDateEndDateOptions(NSDate startDate, NSDate endDate, long options)predicateForSamplesWithStartDate:endDate:options: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForWorkoutsWithOperatorTypeDuration(long operatorType, double duration)predicateForWorkoutsWithOperatorType:duration: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForWorkoutsWithOperatorTypeTotalDistance(long operatorType, HKQuantity totalDistance)predicateForWorkoutsWithOperatorType:totalDistance: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForWorkoutsWithOperatorTypeTotalEnergyBurned(long operatorType, HKQuantity totalEnergyBurned)predicateForWorkoutsWithOperatorType:totalEnergyBurned: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForWorkoutsWithOperatorTypeTotalFlightsClimbed(long operatorType, HKQuantity totalFlightsClimbed)predicateForWorkoutsWithOperatorType:totalFlightsClimbed: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForWorkoutsWithOperatorTypeTotalSwimmingStrokeCount(long operatorType, HKQuantity totalSwimmingStrokeCount)predicateForWorkoutsWithOperatorType:totalSwimmingStrokeCount: Creates a predicate for use with HKQuery subclasses.static NSPredicatepredicateForWorkoutsWithWorkoutActivityType(long workoutActivityType)predicateForWorkoutsWithWorkoutActivityType: Creates a predicate for use with HKQuery subclasses.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)HKSampleTypesampleType()static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()static longversion_static()-
Methods inherited from class apple.NSObject
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, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static HKQuery alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static 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()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
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
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
new_objc
public static java.lang.Object new_objc()
-
predicateForActivitySummariesBetweenStartDateComponentsEndDateComponents
public static NSPredicate predicateForActivitySummariesBetweenStartDateComponentsEndDateComponents(NSDateComponents startDateComponents, NSDateComponents endDateComponents)
predicateForActivitySummariesBetweenStartDateComponents:endDateComponents: Creates a predicate for use with HKActivitySummaryQuery Creates a query predicate that matches HKActivitySummaries that fall between the given date components.- Parameters:
startDateComponents- The date components that define the beginning of the range. These date components should contain era, year, month, and day components in the gregorian calendar.endDateComponents- The date components that define the end of the range. These date components should contain era, year, month, and day components in the gregorian calendar.
-
predicateForActivitySummaryWithDateComponents
public static NSPredicate predicateForActivitySummaryWithDateComponents(NSDateComponents dateComponents)
predicateForActivitySummaryWithDateComponents: Creates a predicate for use with HKActivitySummaryQuery Creates a query predicate that matches HKActivitySummaries with the given date components.- Parameters:
dateComponents- The date components of the activity summary. These date components should contain era, year, month, and day components in the gregorian calendar.
-
predicateForCategorySamplesWithOperatorTypeValue
public static NSPredicate predicateForCategorySamplesWithOperatorTypeValue(long operatorType, long value)
predicateForCategorySamplesWithOperatorType:value: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches category samples with values that match the expression formed by the given operator and value.- Parameters:
operatorType- The operator type for the expression.value- The value that the sample's value is being compared to. It is the right hand side of the expression.
-
predicateForObjectWithUUID
public static NSPredicate predicateForObjectWithUUID(NSUUID UUID)
predicateForObjectWithUUID: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches the object saved with a particular UUID.- Parameters:
UUID- The UUID of the object.
-
predicateForObjectsFromDevices
public static NSPredicate predicateForObjectsFromDevices(NSSet<? extends HKDevice> devices)
predicateForObjectsFromDevices: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches objects associated with any of the given devices. All properties of each HKDevice are considered in the query and must match exactly, including nil values. To perform searches based on specific device properties, use predicateForObjectsWithDeviceProperty:allowedValues:.- Parameters:
devices- The set of devices that generated data.
-
predicateForObjectsFromSource
public static NSPredicate predicateForObjectsFromSource(HKSource source)
predicateForObjectsFromSource: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches objects saved by a given source.- Parameters:
source- The source.
-
predicateForObjectsFromSourceRevisions
public static NSPredicate predicateForObjectsFromSourceRevisions(NSSet<? extends HKSourceRevision> sourceRevisions)
predicateForObjectsFromSourceRevisions: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches objects saved by any of the specified HKSourceRevisions.- Parameters:
sourceRevisions- The list of source revisions.
-
predicateForObjectsFromSources
public static NSPredicate predicateForObjectsFromSources(NSSet<? extends HKSource> sources)
predicateForObjectsFromSources: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches objects saved by any of the given sources.- Parameters:
sources- The list of sources.
-
predicateForObjectsFromWorkout
public static NSPredicate predicateForObjectsFromWorkout(HKWorkout workout)
predicateForObjectsFromWorkout: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches the objects that have been added to the given workout.- Parameters:
workout- The HKWorkout that the object was added to.
-
predicateForObjectsWithDevicePropertyAllowedValues
public static NSPredicate predicateForObjectsWithDevicePropertyAllowedValues(java.lang.String key, NSSet<java.lang.String> allowedValues)
predicateForObjectsWithDeviceProperty:allowedValues: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches objects associated with an HKDevice with the specified device property matching any value included in allowedValues. To query for samples with devices that match all the properties of an HKDevice, use predicateForObjectsFromDevices.- Parameters:
key- The device property key. (See HKDevice.h)allowedValues- The set of values for which the device property can match. An empty set will match all devices whose property value is nil.
-
predicateForObjectsWithMetadataKey
public static NSPredicate predicateForObjectsWithMetadataKey(java.lang.String key)
predicateForObjectsWithMetadataKey: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches objects with metadata that contains a given key.- Parameters:
key- The metadata key.
-
predicateForObjectsWithMetadataKeyAllowedValues
public static NSPredicate predicateForObjectsWithMetadataKeyAllowedValues(java.lang.String key, NSArray<?> allowedValues)
predicateForObjectsWithMetadataKey:allowedValues: Creates a predicate for use with HKQuery subclasses Creates a query predicate that matches objects with metadata containing a value the matches one of the given values for the given key.- Parameters:
key- The metadata key.allowedValues- The list of values that the metadata value can be equal to.
-
predicateForObjectsWithMetadataKeyOperatorTypeValue
public static NSPredicate predicateForObjectsWithMetadataKeyOperatorTypeValue(java.lang.String key, long operatorType, java.lang.Object value)
predicateForObjectsWithMetadataKey:operatorType:value: Creates a predicate for use with HKQuery subclasses Creates a query predicate that matches objects with a value for a given metadata key matches the given operator type and value.- Parameters:
key- The metadata key.operatorType- The comparison operator type for the expression.value- The value to be compared against.
-
predicateForObjectsWithNoCorrelation
public static NSPredicate predicateForObjectsWithNoCorrelation()
predicateForObjectsNoCorrelation Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches the objects that are not associated with an HKCorrelation.
-
predicateForObjectsWithUUIDs
public static NSPredicate predicateForObjectsWithUUIDs(NSSet<? extends NSUUID> UUIDs)
predicateForObjectsWithUUIDs: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches the objects saved with one of the given UUIDs.- Parameters:
UUIDs- The set of NSUUIDs.
-
predicateForQuantitySamplesWithOperatorTypeQuantity
public static NSPredicate predicateForQuantitySamplesWithOperatorTypeQuantity(long operatorType, HKQuantity quantity)
predicateForQuantitySamplesWithOperatorType:quantity: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches quantity samples with values that match the expression formed by the given operator and quantity.- Parameters:
operatorType- The operator type for the expression.quantity- The quantity that the sample's quantity is being compared to. It is the right hand side of the expression.
-
predicateForSamplesWithStartDateEndDateOptions
public static NSPredicate predicateForSamplesWithStartDateEndDateOptions(NSDate startDate, NSDate endDate, long options)
predicateForSamplesWithStartDate:endDate:options: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches samples with a startDate and an endDate that lie inside of a given time interval.- Parameters:
startDate- The start date of the predicate's time interval.endDate- The end date of the predicate's time interval.options- The rules for how a sample's time interval overlaps with the predicate's time interval.
-
predicateForWorkoutsWithOperatorTypeDuration
public static NSPredicate predicateForWorkoutsWithOperatorTypeDuration(long operatorType, double duration)
predicateForWorkoutsWithOperatorType:duration: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches HKWorkouts by the given operator type and duration- Parameters:
operatorType- The operator type for the expression.duration- The value that the workout's duration is being compared to. It is the right hand side of the expression.
-
predicateForWorkoutsWithOperatorTypeTotalDistance
public static NSPredicate predicateForWorkoutsWithOperatorTypeTotalDistance(long operatorType, HKQuantity totalDistance)
predicateForWorkoutsWithOperatorType:totalDistance: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches HKWorkouts by the given operator type and totalEnergyBurned- Parameters:
operatorType- The operator type for the expression.totalDistance- The value that the workout's totalEnergyBurned is being compared to. It is the right hand side of the expression. The unit for this value should be of type Distance.
-
predicateForWorkoutsWithOperatorTypeTotalEnergyBurned
public static NSPredicate predicateForWorkoutsWithOperatorTypeTotalEnergyBurned(long operatorType, HKQuantity totalEnergyBurned)
predicateForWorkoutsWithOperatorType:totalEnergyBurned: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches HKWorkouts by the given operator type and totalEnergyBurned- Parameters:
operatorType- The operator type for the expression.totalEnergyBurned- The value that the workout's totalEnergyBurned is being compared to. It is the right hand side of the expression. The unit for this value should be of type Energy.
-
predicateForWorkoutsWithOperatorTypeTotalSwimmingStrokeCount
public static NSPredicate predicateForWorkoutsWithOperatorTypeTotalSwimmingStrokeCount(long operatorType, HKQuantity totalSwimmingStrokeCount)
predicateForWorkoutsWithOperatorType:totalSwimmingStrokeCount: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches HKWorkouts by the given operator type and totalSwimmingStrokeCount- Parameters:
operatorType- The operator type for the expression.totalSwimmingStrokeCount- The value that the workout's totalSwimmingStrokeCount is being compared to. It is the right hand side of the expression. The unit for this value should be of type Count.
-
predicateForWorkoutsWithWorkoutActivityType
public static NSPredicate predicateForWorkoutsWithWorkoutActivityType(long workoutActivityType)
predicateForWorkoutsWithWorkoutActivityType: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches HKWorkouts with the given HKWorkoutActivityType.- Parameters:
workoutActivityType- The HKWorkoutActivity type of the workout
-
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()
-
objectType
public HKObjectType objectType()
-
predicate
public NSPredicate predicate()
-
sampleType
public HKSampleType sampleType()
-
predicateForWorkoutsWithOperatorTypeTotalFlightsClimbed
public static NSPredicate predicateForWorkoutsWithOperatorTypeTotalFlightsClimbed(long operatorType, HKQuantity totalFlightsClimbed)
predicateForWorkoutsWithOperatorType:totalFlightsClimbed: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches HKWorkouts by the given operator type and totalFlightsClimbed- Parameters:
operatorType- The operator type for the expression.totalFlightsClimbed- The value that the workout's totalFlightsClimbed is being compared to. It is the right hand side of the expression. The unit for this value should be of type Count.
-
predicateForClinicalRecordsFromSourceFHIRResourceTypeIdentifier
public static NSPredicate predicateForClinicalRecordsFromSourceFHIRResourceTypeIdentifier(HKSource source, java.lang.String resourceType, java.lang.String identifier)
predicateForClinicalRecordsFromSource:withFHIRResourceType:identifier: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches HKClinicalRecords for a given source, FHIR resource type, and FHIR identifier.- Parameters:
source- The source.resourceType- The FHIR resource type.identifier- The FHIR identifier.
-
predicateForClinicalRecordsWithFHIRResourceType
public static NSPredicate predicateForClinicalRecordsWithFHIRResourceType(java.lang.String resourceType)
predicateForClinicalRecordsWithFHIRResourceType: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches HKClinicalRecords with a specific FHIR resource type.- Parameters:
resourceType- The FHIR resource type.
-
predicateForElectrocardiogramsWithClassification
public static NSPredicate predicateForElectrocardiogramsWithClassification(long classification)
predicateForElectrocardiogramsWithClassification: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches HKElectrocardiograms with a specific classification.- Parameters:
classification- The classification for the electrocardiogram.
-
predicateForElectrocardiogramsWithSymptomsStatus
public static NSPredicate predicateForElectrocardiogramsWithSymptomsStatus(long symptomsStatus)
predicateForElectrocardiogramsWithSymptomsStatus: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches HKElectrocardiograms with a specificied symptoms status.- Parameters:
symptomsStatus- The symptoms status for the electrocardiogram.
-
predicateForObjectsAssociatedWithElectrocardiogram
public static NSPredicate predicateForObjectsAssociatedWithElectrocardiogram(HKElectrocardiogram electrocardiogram)
predicateForObjectsAssociatedWithElectrocardiogram: Creates a predicate for use with HKQuery subclasses. Creates a query predicate that matches the objects that have been added to the given electrocardiogram- Parameters:
electrocardiogram- The HKElectrocardiogram that the object was added to.
-
-