Used to send HealthKit data back to Unity.
|
HKDataType | datatype |
| the type of health data
|
|
HKClinicalType | clinicalType |
| the clinical type of health data, if applicable
|
|
WorkoutActivityType | workoutType |
| the workout type, if applicable
|
|
Error | error = null |
| if there was an error, the error, otherwise null
|
|
|
List< ClinicalRecord > | ParseClinicalRecords () |
| parse XML containing a list of clinical records.
|
|
| HealthData (string xmlString) |
| The default constructor.
|
|
string | RootName () |
| The name of the root node of the XML document.
|
|
List< QuantitySample > | ParseQuantitySamples () |
| parse XML containing QuantitySamples, and return a list.
|
|
List< CategorySample > | ParseCategorySamples () |
| parse XML containing CategorySamples, and return a list.
|
|
double | ParseTotal () |
| parse XML containing a combined total of QuantitySamples, and return a double.
|
|
HealthStatistics | ParseStatistics () |
| parse XML containing Statistics result, and return a HealthStatistics object.
|
|
HealthStatisticsCollection | ParseStatisticsCollection () |
| parse XML containing a Statistics Collection result, and return a HealthStatisticsCollection object.
|
|
List< DocumentSample > | ParseHealthDocuments () |
| parse XML containing a list of CDA documents.
|
|
bool | ParseSuccess () |
| parse XML & determine if writing was a success.
|
|
Error | ParseError () |
| if there was an error, parse & return it; otherwise null.
|
|
List< CorrelationSample > | ParseCorrelationSamples () |
| parse XML containing CorrelationSamples, and return a list.
|
|
List< WorkoutSample > | ParseWorkoutSamples () |
| parse XML containing WorkoutSamples, and return a list.
|
|
Characteristic | ParseCharacteristic () |
| parse XML containing a Characteristic, and return it.
|
|
List< PedometerData > | ParsePedometerData () |
| parse XML containing pedometer data, and return it.
|
|
◆ HealthData()
BeliefEngine.HealthKit.HealthData.HealthData |
( |
string | xmlString | ) |
|
|
inline |
- Parameters
-
xmlString | the XML string to create this object from. |
◆ RootName()
string BeliefEngine.HealthKit.HealthData.RootName |
( |
| ) |
|
|
inline |
This is used to determine what kind of HealthKit data to process as.