FitnessApi class

The Fitness API for managing users' fitness tracking data.

Constructors

FitnessApi(Client client, {String rootUrl = 'https://fitness.googleapis.com/', String servicePath = 'fitness/v1/users/'})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
users UsersResource
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fitnessActivityReadScope → const String
Use Google Fit to see and store your physical activity data
fitnessActivityWriteScope → const String
Add to your Google Fit physical activity data
fitnessBloodGlucoseReadScope → const String
See info about your blood glucose in Google Fit. I consent to Google sharing my blood glucose information with this app.
fitnessBloodGlucoseWriteScope → const String
Add info about your blood glucose to Google Fit. I consent to Google using my blood glucose information with this app.
fitnessBloodPressureReadScope → const String
See info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.
fitnessBloodPressureWriteScope → const String
Add info about your blood pressure in Google Fit. I consent to Google using my blood pressure information with this app.
fitnessBodyReadScope → const String
See info about your body measurements in Google Fit
fitnessBodyTemperatureReadScope → const String
See info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.
fitnessBodyTemperatureWriteScope → const String
Add to info about your body temperature in Google Fit. I consent to Google using my body temperature information with this app.
fitnessBodyWriteScope → const String
Add info about your body measurements to Google Fit
fitnessHeartRateReadScope → const String
See your heart rate data in Google Fit. I consent to Google sharing my heart rate information with this app.
fitnessHeartRateWriteScope → const String
Add to your heart rate data in Google Fit. I consent to Google using my heart rate information with this app.
fitnessLocationReadScope → const String
See your Google Fit speed and distance data
fitnessLocationWriteScope → const String
Add to your Google Fit location data
fitnessNutritionReadScope → const String
See info about your nutrition in Google Fit
fitnessNutritionWriteScope → const String
Add to info about your nutrition in Google Fit
fitnessOxygenSaturationReadScope → const String
See info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.
fitnessOxygenSaturationWriteScope → const String
Add info about your oxygen saturation in Google Fit. I consent to Google using my oxygen saturation information with this app.
fitnessReproductiveHealthReadScope → const String
See info about your reproductive health in Google Fit. I consent to Google sharing my reproductive health information with this app.
fitnessReproductiveHealthWriteScope → const String
Add info about your reproductive health in Google Fit. I consent to Google using my reproductive health information with this app.
fitnessSleepReadScope → const String
See your sleep data in Google Fit. I consent to Google sharing my sleep information with this app.
fitnessSleepWriteScope → const String
Add to your sleep data in Google Fit. I consent to Google using my sleep information with this app.