Package org.robovm.apple.healthkit
Class HKSampleType
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.healthkit.HKObjectType
org.robovm.apple.healthkit.HKSampleType
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
- Direct Known Subclasses:
HKAudiogramSampleType,HKCategoryType,HKClinicalType,HKCorrelationType,HKDocumentType,HKElectrocardiogramType,HKQuantityType,HKSeriesType,HKWorkoutType
public class HKSampleType extends HKObjectType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHKSampleType.HKSampleTypePtrNested classes/interfaces inherited from class org.robovm.apple.healthkit.HKObjectType
HKObjectType.HKObjectTypePtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedHKSampleType()protectedHKSampleType(NSObject.Handle h, long handle)protectedHKSampleType(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description static HKActivitySummaryTypeactivitySummaryType()booleanallowsRecalibrationForEstimates()static HKAudiogramSampleTypeaudiogramSampleType()static HKDocumentTypedocumentTypeForIdentifier(String identifier)static HKElectrocardiogramTypeelectrocardiogramType()static HKCategoryTypegetCategoryType(HKCategoryTypeIdentifier identifier)static HKCharacteristicTypegetCharacteristicType(HKCharacteristicTypeIdentifier identifier)static HKCorrelationTypegetCorrelationType(HKCorrelationTypeIdentifier identifier)doublegetMaximumAllowedDuration()doublegetMinimumAllowedDuration()static HKQuantityTypegetQuantityType(HKQuantityTypeIdentifier identifier)static HKWorkoutTypegetWorkoutType()booleanisMaximumDurationRestricted()booleanisMinimumDurationRestricted()static HKSeriesTypeseriesTypeForIdentifier(String identifier)static booleansupportsSecureCoding()Methods inherited from class org.robovm.apple.healthkit.HKObjectType
clinicalTypeForIdentifier, encode, getIdentifier, initMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
HKSampleType
protected HKSampleType() -
HKSampleType
-
HKSampleType
-
-
Method Details
-
isMaximumDurationRestricted
public boolean isMaximumDurationRestricted()- Since:
- Available in iOS 13.0 and later.
-
getMaximumAllowedDuration
public double getMaximumAllowedDuration()- Since:
- Available in iOS 13.0 and later.
-
isMinimumDurationRestricted
public boolean isMinimumDurationRestricted()- Since:
- Available in iOS 13.0 and later.
-
getMinimumAllowedDuration
public double getMinimumAllowedDuration()- Since:
- Available in iOS 13.0 and later.
-
allowsRecalibrationForEstimates
public boolean allowsRecalibrationForEstimates()- Since:
- Available in iOS 15.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
getQuantityType
-
getCategoryType
-
getCharacteristicType
public static HKCharacteristicType getCharacteristicType(HKCharacteristicTypeIdentifier identifier) -
getCorrelationType
-
documentTypeForIdentifier
- Since:
- Available in iOS 10.0 and later.
-
seriesTypeForIdentifier
- Since:
- Available in iOS 11.0 and later.
-
getWorkoutType
-
activitySummaryType
- Since:
- Available in iOS 9.3 and later.
-
audiogramSampleType
- Since:
- Available in iOS 13.0 and later.
-
electrocardiogramType
- Since:
- Available in iOS 14.0 and later.
-