Package org.robovm.apple.healthkit
Class HKStatisticsCollection
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.healthkit.HKStatisticsCollection
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class HKStatisticsCollection extends NSObject
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HKStatisticsCollection.HKStatisticsCollectionPtr
-
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
HKStatisticsCollection()
protected
HKStatisticsCollection(NSObject.Handle h, long handle)
protected
HKStatisticsCollection(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enumerateStatistics(NSDate startDate, NSDate endDate, org.robovm.objc.block.VoidBlock2<HKStatistics,org.robovm.rt.bro.ptr.BooleanPtr> block)
NSSet<HKSource>
getSources()
NSArray<HKStatistics>
getStatistics()
HKStatistics
getStatisticsForDate(NSDate date)
-
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
-
HKStatisticsCollection
protected HKStatisticsCollection()
-
HKStatisticsCollection
protected HKStatisticsCollection(NSObject.Handle h, long handle)
-
HKStatisticsCollection
protected HKStatisticsCollection(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getStatisticsForDate
public HKStatistics getStatisticsForDate(NSDate date)
-
enumerateStatistics
public void enumerateStatistics(NSDate startDate, NSDate endDate, org.robovm.objc.block.VoidBlock2<HKStatistics,org.robovm.rt.bro.ptr.BooleanPtr> block)
-
getStatistics
public NSArray<HKStatistics> getStatistics()
-
-