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

Wrapper around HKStateOfMind.

Public Attributes

List< StateOfMindAssociation > associations
 
StateOfMindKind kind
 
List< StateOfMindLabel > labels
 
double valence
 
StateOfMindValenceClassification valenceClassification
 
- Public Attributes inherited from BeliefEngine.HealthKit.Sample
DateTimeOffset startDate
 
DateTimeOffset endDate
 
- Public Attributes inherited from BeliefEngine.HealthKit.HObject
SourceRevision source
 
XmlNode metadata
 

Public Member Functions

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

Constructor & Destructor Documentation

◆ StateOfMind()

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

Member Function Documentation

◆ ToXML()

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

Reimplemented from BeliefEngine.HealthKit.Sample.

Member Data Documentation

◆ associations

List<StateOfMindAssociation> BeliefEngine.HealthKit.StateOfMind.associations

the associations of this sample

◆ kind

StateOfMindKind BeliefEngine.HealthKit.StateOfMind.kind

the kind of the sample; either daily mood or momentary emotion

◆ labels

List<StateOfMindLabel> BeliefEngine.HealthKit.StateOfMind.labels

the emotion labels of the sample

◆ valence

double BeliefEngine.HealthKit.StateOfMind.valence

the valence (-1.0 to 1.0); used to determine the valence classification

◆ valenceClassification

StateOfMindValenceClassification BeliefEngine.HealthKit.StateOfMind.valenceClassification

the valence classification of the state of mind; ranges from Very Unpleasant to Very Pleasant