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-10-31 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-10-31 UTC."],[[["\u003cp\u003eThis page documents the Google Fit data model, which includes classes for representing data sources, data types, data points, and data sets.\u003c/p\u003e\n"],["\u003cp\u003eIt also covers specialized classes for representing fitness goals, sessions, sleep stages, workout exercises, and health-related data.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this model to interact with the Google Fit platform and manage fitness data.\u003c/p\u003e\n"],["\u003cp\u003eIncludes classes for managing subscriptions and handling updates to Google Fitness Store data.\u003c/p\u003e\n"],["\u003cp\u003eThe data model encompasses various utility classes for building data structures, handling values, and defining time intervals.\u003c/p\u003e\n"]]],[],null,[]]