com.google.android.gms.fitness.data
Stay organized with collections
Save and categorize content based on your preferences.
Contains the Google Fit data model.
Annotations
Classes
BleDevice
|
This class is deprecated. Use BluetoothManager
directly. |
Bucket
|
A bucket represents a time interval over which
aggregated data is computed. |
DataPoint
|
Represents a single data point in a data
type's stream from a particular data
source . |
DataPoint.Builder
|
Builder for DataPoint
instances. |
DataSet
|
Represents a fixed set of data
points in a data
type's stream from a particular data
source . |
DataSet.Builder
|
Builder used to create new data
sets . |
DataSource
|
Definition of a unique source of sensor
data. |
DataSource.Builder
|
A builder that can be used to construct new data
source objects. |
DataType
|
The data type defines the schema for a stream of
data being collected by, inserted into, or queried from Google Fit. |
DataUpdateNotification
|
Captures the information needed to identify
updates to Google Fitness Store data. |
Device
|
Representation of an integrated device (such as a
phone or a wearable) that can hold sensors. |
Field
|
A field represents one dimension of a data
type. |
Goal
|
A fitness goal, which users create in Google
Fit. |
Goal.DurationObjective
|
A duration objective, which uses duration time of
activities to determine whether the goal is met. |
Goal.FrequencyObjective
|
A frequency objective, which uses the number of
activity segments to determine whether the goal is met. |
Goal.MetricObjective
|
A metric objective, which uses a metric value to
determine whether the goal is met. |
Goal.Recurrence
|
A recurrence period of a recurring
goal. |
HealthDataTypes
|
Predefined health-specific data types. |
HealthFields
|
Predefined fields only used by health-specific
data types in HealthDataTypes . |
LocalBucket
|
A bucket represents a time interval over which
aggregated data is computed. |
LocalDataPoint
|
Represents a single data point in a LocalDataType 's
stream. |
LocalDataSet
|
Represents a fixed set of LocalDataPoint s
in a LocalDataType 's
stream. |
LocalDataType
|
The data type defines the schema for a stream of
data being collected by or queried from the Recording API on mobile. |
LocalField
|
A field represents one dimension of a data
type. |
LocalValue
|
Holder object for the value of a single
LocalField
in a LocalDataPoint . |
Session
|
A Session represents a time interval with
associated metadata. |
Session.Builder
|
Builder used to create new Sessions. |
SleepStages
|
Constants representing different sleep stages,
such as light sleep, deep sleep. |
Subscription
|
Subscription for persistent storage of data from a
given data
source or for a given data
type . |
Value
|
Holder object for the value of a single
field in
a data
point . |
WorkoutExercises
|
Constants representing different exercises, such
as weightlifting exercises, strength training exercises, and cardiovascular
exercises. |
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-23 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-05-23 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-23 UTC."]]