VLDFitness

Objective-C

@interface VLDFitness : VLDRecord

Swift

class VLDFitness : VLDRecord

Fitness records return data for activities that are undertaken with the express purpose of exercising. These activities have a defined duration (time, distance, elevation, etc.).

  • Type of fitness activity: Walking, Running, Swimming, etc.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *type;

    Swift

    var type: String? { get set }
  • Subjective intensity with which an activity was performed. Examples are: low, medium, high. Returned as provided by source

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSString *intensity;

    Swift

    var intensity: String? { get set }
  • Timestamp of when fitness activity started in ISO08601 format

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSDate *startTime;

    Swift

    var startTime: Date? { get set }
  • Distance in meters

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *distance;

    Swift

    var distance: NSNumber? { get set }
  • Duration of fitness activity in seconds

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *duration;

    Swift

    var duration: NSNumber? { get set }
  • Calories burned during fitness activity

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *calories;

    Swift

    var calories: NSNumber? { get set }