Package org.robovm.apple.healthkit
Class HKObjectType
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.healthkit.HKObjectType
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
HKActivitySummaryType
,HKCharacteristicType
,HKSampleType
public class HKObjectType extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HKObjectType.HKObjectTypePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HKObjectType()
HKObjectType(NSCoder decoder)
protected
HKObjectType(NSObject.Handle h, long handle)
protected
HKObjectType(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HKActivitySummaryType
activitySummaryType()
static HKClinicalType
clinicalTypeForIdentifier(HKClinicalTypeIdentifier identifier)
static HKDocumentType
documentTypeForIdentifier(java.lang.String identifier)
void
encode(NSCoder coder)
static HKCategoryType
getCategoryType(HKCategoryTypeIdentifier identifier)
static HKCharacteristicType
getCharacteristicType(HKCharacteristicTypeIdentifier identifier)
static HKCorrelationType
getCorrelationType(HKCorrelationTypeIdentifier identifier)
HKTypeIdentifier
getIdentifier()
static HKQuantityType
getQuantityType(HKQuantityTypeIdentifier identifier)
static HKWorkoutType
getWorkoutType()
protected long
init(NSCoder decoder)
static HKSeriesType
seriesTypeForIdentifier(java.lang.String identifier)
static boolean
supportsSecureCoding()
-
Methods 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, willChangeValues
-
-
-
-
Constructor Detail
-
HKObjectType
protected HKObjectType()
-
HKObjectType
protected HKObjectType(NSObject.Handle h, long handle)
-
HKObjectType
protected HKObjectType(NSObject.SkipInit skipInit)
-
HKObjectType
public HKObjectType(NSCoder decoder)
-
-
Method Detail
-
getIdentifier
public HKTypeIdentifier getIdentifier()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
getQuantityType
public static HKQuantityType getQuantityType(HKQuantityTypeIdentifier identifier)
-
getCategoryType
public static HKCategoryType getCategoryType(HKCategoryTypeIdentifier identifier)
-
getCharacteristicType
public static HKCharacteristicType getCharacteristicType(HKCharacteristicTypeIdentifier identifier)
-
getCorrelationType
public static HKCorrelationType getCorrelationType(HKCorrelationTypeIdentifier identifier)
-
documentTypeForIdentifier
public static HKDocumentType documentTypeForIdentifier(java.lang.String identifier)
- Since:
- Available in iOS 10.0 and later.
-
seriesTypeForIdentifier
public static HKSeriesType seriesTypeForIdentifier(java.lang.String identifier)
- Since:
- Available in iOS 11.0 and later.
-
getWorkoutType
public static HKWorkoutType getWorkoutType()
-
activitySummaryType
public static HKActivitySummaryType activitySummaryType()
- Since:
- Available in iOS 9.3 and later.
-
clinicalTypeForIdentifier
public static HKClinicalType clinicalTypeForIdentifier(HKClinicalTypeIdentifier identifier)
- Since:
- Available in iOS 12.0 and later.
-
init
protected long init(NSCoder decoder)
-
-