BEHealthKit 1.11
A HealthKit plugin for Unity
Loading...
Searching...
No Matches
Public Attributes | Public Member Functions | List of all members
BeliefEngine.HealthKit.Sample Class Reference

Wrapper around HKSample.

Public Attributes

DateTimeOffset startDate
 
DateTimeOffset endDate
 
- Public Attributes inherited from BeliefEngine.HealthKit.HObject
SourceRevision source
 
XmlNode metadata
 

Public Member Functions

 Sample (XmlNode node)
 The default constructor.
 
 Sample (DateTimeOffset startDate, DateTimeOffset endDate)
 Manual constructor.
 
override XElement ToXML ()
 Internal method. Converts the sample to XML.
 
- Public Member Functions inherited from BeliefEngine.HealthKit.HObject
 HObject (XmlNode node)
 The constructor used internally when reading health data.
 

Constructor & Destructor Documentation

◆ Sample() [1/2]

BeliefEngine.HealthKit.Sample.Sample ( XmlNode node)
inline
Parameters
nodethe XmlNode to create this object from.

◆ Sample() [2/2]

BeliefEngine.HealthKit.Sample.Sample ( DateTimeOffset startDate,
DateTimeOffset endDate )
inline
Parameters
startDatethe start date of the sample.
endDatethe end date of the sample.

Member Function Documentation

◆ ToXML()

override XElement BeliefEngine.HealthKit.Sample.ToXML ( )
inlinevirtual

Member Data Documentation

◆ endDate

DateTimeOffset BeliefEngine.HealthKit.Sample.endDate

the ending date of this sample

◆ startDate

DateTimeOffset BeliefEngine.HealthKit.Sample.startDate

the starting date of this sample