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
,org.robovm.objc.ObjCProtocol
public class HKStatistics extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HKStatistics.HKStatisticsPtr
-
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
HKStatistics()
HKStatistics(NSCoder decoder)
protected
HKStatistics(NSObject.Handle h, long handle)
protected
HKStatistics(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(NSCoder coder)
HKQuantity
getAverageQuantity()
HKQuantity
getAverageQuantityForSource(HKSource source)
NSDate
getEndDate()
HKQuantity
getMaximumQuantity()
HKQuantity
getMaximumQuantityForSource(HKSource source)
HKQuantity
getMinimumQuantity()
HKQuantity
getMinimumQuantityForSource(HKSource source)
HKQuantityType
getQuantityType()
NSArray<HKSource>
getSources()
NSDate
getStartDate()
HKQuantity
getSumQuantity()
HKQuantity
getSumQuantityForSource(HKSource source)
protected long
init(NSCoder decoder)
HKQuantity
mostRecentQuantity()
NSDateInterval
mostRecentQuantityDateInterval()
NSDateInterval
mostRecentQuantityDateIntervalForSource(HKSource source)
HKQuantity
mostRecentQuantityForSource(HKSource source)
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
-
HKStatistics
protected HKStatistics()
-
HKStatistics
protected HKStatistics(NSObject.Handle h, long handle)
-
HKStatistics
protected HKStatistics(NSObject.SkipInit skipInit)
-
HKStatistics
public HKStatistics(NSCoder decoder)
-
-
Method Detail
-
getQuantityType
public HKQuantityType getQuantityType()
-
getStartDate
public NSDate getStartDate()
-
getEndDate
public NSDate getEndDate()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
getAverageQuantityForSource
public HKQuantity getAverageQuantityForSource(HKSource source)
-
getAverageQuantity
public HKQuantity getAverageQuantity()
-
getMinimumQuantityForSource
public HKQuantity getMinimumQuantityForSource(HKSource source)
-
getMinimumQuantity
public HKQuantity getMinimumQuantity()
-
getMaximumQuantityForSource
public HKQuantity getMaximumQuantityForSource(HKSource source)
-
getMaximumQuantity
public HKQuantity getMaximumQuantity()
-
mostRecentQuantityForSource
public HKQuantity mostRecentQuantityForSource(HKSource source)
- Since:
- Available in iOS 12.0 and later.
-
mostRecentQuantity
public HKQuantity mostRecentQuantity()
- Since:
- Available in iOS 12.0 and later.
-
mostRecentQuantityDateIntervalForSource
public NSDateInterval mostRecentQuantityDateIntervalForSource(HKSource source)
- Since:
- Available in iOS 12.0 and later.
-
mostRecentQuantityDateInterval
public NSDateInterval mostRecentQuantityDateInterval()
- Since:
- Available in iOS 12.0 and later.
-
getSumQuantityForSource
public HKQuantity getSumQuantityForSource(HKSource source)
-
getSumQuantity
public HKQuantity getSumQuantity()
-
init
protected long init(NSCoder decoder)
-
-