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

Wrapper around HKWorkoutRoute.

Public Attributes

List< Coordinate > coords
 a list of coordinates for the workout route

 
- 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

 WorkoutRoute (XmlNode node)
 The default constructor.
 
 WorkoutRoute (WorkoutActivityType activityType, DateTimeOffset startDate, DateTimeOffset endDate)
 Manual constructor.
 
override XElement ToXML ()
 Internal method. Converts the workout to XML.
 
- Public Member Functions inherited from BeliefEngine.HealthKit.SeriesSample
 SeriesSample (XmlNode node)
 The default constructor.
 
 SeriesSample (DateTimeOffset startDate, DateTimeOffset endDate)
 Manual constructor.
 
- 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

◆ WorkoutRoute() [1/2]

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

◆ WorkoutRoute() [2/2]

BeliefEngine.HealthKit.WorkoutRoute.WorkoutRoute ( WorkoutActivityType activityType,
DateTimeOffset startDate,
DateTimeOffset endDate )
inline
Parameters
activityTypetype of the workout
startDatethe start date of the sample
endDatethe end date of the sample

Member Function Documentation

◆ ToXML()

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