Package org.robovm.apple.healthkit
Class HKStatistics
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.healthkit.HKStatistics
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class HKStatistics extends NSObject implements NSSecureCoding
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHKStatistics.HKStatisticsPtrNested 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 protectedHKStatistics()HKStatistics(NSCoder coder)protectedHKStatistics(NSObject.Handle h, long handle)protectedHKStatistics(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description HKQuantityduration()HKQuantitydurationForSource(HKSource source)voidencode(NSCoder coder)HKQuantitygetAverageQuantity()HKQuantitygetAverageQuantityForSource(HKSource source)NSDategetEndDate()HKQuantitygetMaximumQuantity()HKQuantitygetMaximumQuantityForSource(HKSource source)HKQuantitygetMinimumQuantity()HKQuantitygetMinimumQuantityForSource(HKSource source)HKQuantityTypegetQuantityType()NSArray<HKSource>getSources()NSDategetStartDate()HKQuantitygetSumQuantity()HKQuantitygetSumQuantityForSource(HKSource source)protected longinit(NSCoder coder)HKQuantitymostRecentQuantity()NSDateIntervalmostRecentQuantityDateInterval()NSDateIntervalmostRecentQuantityDateIntervalForSource(HKSource source)HKQuantitymostRecentQuantityForSource(HKSource source)static booleansupportsSecureCoding()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, 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
-
HKStatistics
protected HKStatistics() -
HKStatistics
-
HKStatistics
-
HKStatistics
-
-
Method Details
-
getQuantityType
-
getStartDate
-
getEndDate
-
getSources
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
getAverageQuantityForSource
-
getAverageQuantity
-
getMinimumQuantityForSource
-
getMinimumQuantity
-
getMaximumQuantityForSource
-
getMaximumQuantity
-
mostRecentQuantityForSource
- Since:
- Available in iOS 12.0 and later.
-
mostRecentQuantity
- Since:
- Available in iOS 12.0 and later.
-
mostRecentQuantityDateIntervalForSource
- Since:
- Available in iOS 12.0 and later.
-
mostRecentQuantityDateInterval
- Since:
- Available in iOS 12.0 and later.
-
getSumQuantityForSource
-
getSumQuantity
-
duration
- Since:
- Available in iOS 13.0 and later.
-
durationForSource
- Since:
- Available in iOS 13.0 and later.
-
encode
-
init
-