Wrapper around HKQuantity.
|
| | Quantity (XmlNode node) |
| | The constructor used internally when reading health data.
|
| |
| | Quantity (double value, string unitString) |
| | The default constructor.
|
| |
|
override string | ToString () |
| | convert to a reasonable string representation
|
| |
| virtual XElement | ToXML (string name) |
| | Internal method. Converts the quantity to XML.
|
| |
◆ Quantity() [1/2]
| BeliefEngine.HealthKit.Quantity.Quantity |
( |
XmlNode | node | ) |
|
|
inline |
- Parameters
-
| node | the XmlNode to create this object from. |
◆ Quantity() [2/2]
| BeliefEngine.HealthKit.Quantity.Quantity |
( |
double | value, |
|
|
string | unitString ) |
|
inline |
◆ ToXML()
| virtual XElement BeliefEngine.HealthKit.Quantity.ToXML |
( |
string | name | ) |
|
|
inlinevirtual |
- Parameters
-
| name | the name of the node to generate. |
◆ doubleValue
| double BeliefEngine.HealthKit.Quantity.doubleValue |
the value of this quantity, as a double
◆ unit
| string BeliefEngine.HealthKit.Quantity.unit |
the unit of this quantity, as a string