| Modifier and Type | Class and Description |
|---|---|
static interface |
HKAnchoredObjectQuery.Block_initWithQueryDescriptorsAnchorLimitResultsHandler |
static interface |
HKAnchoredObjectQuery.Block_initWithTypePredicateAnchorLimitCompletionHandler |
static interface |
HKAnchoredObjectQuery.Block_initWithTypePredicateAnchorLimitResultsHandler |
static interface |
HKAnchoredObjectQuery.Block_setUpdateHandler |
static interface |
HKAnchoredObjectQuery.Block_updateHandler_ret |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
HKAnchoredObjectQuery(org.moe.natj.general.Pointer peer) |
objectType, predicate, sampleTypeaccessibilityActivate, 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, willChangeValuesAtIndexesForKeyprotected HKAnchoredObjectQuery(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static HKAnchoredObjectQuery alloc()
public static HKAnchoredObjectQuery 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 HKAnchoredObjectQuery new_objc()
public static NSPredicate predicateForActivitySummariesBetweenStartDateComponentsEndDateComponents(NSDateComponents startDateComponents, NSDateComponents endDateComponents)
public static NSPredicate predicateForActivitySummaryWithDateComponents(NSDateComponents dateComponents)
public static NSPredicate predicateForCategorySamplesWithOperatorTypeValue(long operatorType, long value)
public static NSPredicate predicateForObjectWithUUID(NSUUID UUID)
public static NSPredicate predicateForObjectsFromDevices(NSSet<? extends HKDevice> devices)
public static NSPredicate predicateForObjectsFromSource(HKSource source)
public static NSPredicate predicateForObjectsFromSourceRevisions(NSSet<? extends HKSourceRevision> sourceRevisions)
public static NSPredicate predicateForObjectsFromSources(NSSet<? extends HKSource> sources)
public static NSPredicate predicateForObjectsFromWorkout(HKWorkout workout)
public static NSPredicate predicateForObjectsWithDevicePropertyAllowedValues(java.lang.String key, NSSet<java.lang.String> allowedValues)
public static NSPredicate predicateForObjectsWithMetadataKey(java.lang.String key)
public static NSPredicate predicateForObjectsWithMetadataKeyAllowedValues(java.lang.String key, NSArray<?> allowedValues)
public static NSPredicate predicateForObjectsWithMetadataKeyOperatorTypeValue(java.lang.String key, long operatorType, java.lang.Object value)
public static NSPredicate predicateForObjectsWithNoCorrelation()
public static NSPredicate predicateForObjectsWithUUIDs(NSSet<? extends NSUUID> UUIDs)
public static NSPredicate predicateForQuantitySamplesWithOperatorTypeQuantity(long operatorType, HKQuantity quantity)
public static NSPredicate predicateForSamplesWithStartDateEndDateOptions(NSDate startDate, NSDate endDate, long options)
public static NSPredicate predicateForWorkoutsWithOperatorTypeDuration(long operatorType, double duration)
public static NSPredicate predicateForWorkoutsWithOperatorTypeTotalDistance(long operatorType, HKQuantity totalDistance)
public static NSPredicate predicateForWorkoutsWithOperatorTypeTotalEnergyBurned(long operatorType, HKQuantity totalEnergyBurned)
public static NSPredicate predicateForWorkoutsWithOperatorTypeTotalSwimmingStrokeCount(long operatorType, HKQuantity totalSwimmingStrokeCount)
public static NSPredicate predicateForWorkoutsWithWorkoutActivityType(long workoutActivityType)
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 long version_static()
public HKAnchoredObjectQuery init()
@Deprecated public HKAnchoredObjectQuery initWithTypePredicateAnchorLimitCompletionHandler(HKSampleType type, NSPredicate predicate, long anchor, long limit, HKAnchoredObjectQuery.Block_initWithTypePredicateAnchorLimitCompletionHandler handler)
public HKAnchoredObjectQuery initWithTypePredicateAnchorLimitResultsHandler(HKSampleType type, NSPredicate predicate, HKQueryAnchor anchor, long limit, HKAnchoredObjectQuery.Block_initWithTypePredicateAnchorLimitResultsHandler handler)
Returns a query that will retrieve HKSamples and HKDeletedObjects matching the given predicate that are newer than the given anchor.
If no updateHandler is set on the query, the query will automatically stop after calling resultsHandler. Otherwise, the query continues to run and call updateHandler as samples matching the predicate are created or deleted.
type - The type of sample to retrieve.predicate - The predicate which samples should match.anchor - The anchor which was returned by a previous HKAnchoredObjectQuery result or update
handler. Pass nil when querying for the first time.limit - The maximum number of samples and deleted objects to return. Pass HKObjectQueryNoLimit
for no limit.handler - The block to invoke with results when the query has finished finding.public void setUpdateHandler(HKAnchoredObjectQuery.Block_setUpdateHandler value)
An optional handler to be called when samples matching the given predicate are added or deleted.
This property may not be modified once the query has been executed. It may only be set if the query has no limit.
public HKAnchoredObjectQuery.Block_updateHandler_ret updateHandler()
An optional handler to be called when samples matching the given predicate are added or deleted.
This property may not be modified once the query has been executed. It may only be set if the query has no limit.
public static NSPredicate predicateForWorkoutsWithOperatorTypeTotalFlightsClimbed(long operatorType, HKQuantity totalFlightsClimbed)
public static NSPredicate predicateForClinicalRecordsFromSourceFHIRResourceTypeIdentifier(HKSource source, java.lang.String resourceType, java.lang.String identifier)
public static NSPredicate predicateForClinicalRecordsWithFHIRResourceType(java.lang.String resourceType)
public static NSPredicate predicateForElectrocardiogramsWithClassification(long classification)
public static NSPredicate predicateForElectrocardiogramsWithSymptomsStatus(long symptomsStatus)
public static NSPredicate predicateForObjectsAssociatedWithElectrocardiogram(HKElectrocardiogram electrocardiogram)
public HKAnchoredObjectQuery initWithQueryDescriptorsAnchorLimitResultsHandler(NSArray<? extends HKQueryDescriptor> queryDescriptors, HKQueryAnchor anchor, long limit, HKAnchoredObjectQuery.Block_initWithQueryDescriptorsAnchorLimitResultsHandler handler)
Returns a query that will retrieve HKSamples and HKDeletedObjects matching the given query descriptors that are newer than the given anchor.
If no updateHandler is set on the query, the query will automatically stop after calling resultsHandler. Otherwise, the query continues to run and call updateHandler as samples matching the query descriptors are created or deleted.
queryDescriptors - An array of query descriptors that describes the sample types and predicates that
you are interested in getting notified for.anchor - The anchor which was returned by a previous HKAnchoredObjectQuery result or update
handler. Pass nil when querying for the first time.limit - The maximum number of samples and deleted objects to return. Pass
HKObjectQueryNoLimit for no limit.handler - The block to invoke with results when the query has finished finding.public static NSPredicate predicateForVerifiableClinicalRecordsWithRelevantDateWithinDateInterval(NSDateInterval dateInterval)