com.google.android.gms.fitness
Contains the Google Fit APIs.
Interfaces
Classes
BleClient
|
This class is deprecated. Use BluetoothManager
directly. To get data from a Ble device into the Fit platform, use
HistoryClient.insertData(DataSet) to manually insert data obtained from
local sensors. This API will be removed in the future, after which it will stop working
for existing users. |
ConfigClient
|
This class is deprecated. For reading and
writing historical fitness data use Health
Connect. |
Fitness
|
The main entry point to Google Fit
APIs. |
FitnessActivities
|
Constants representing different user activities,
such as walking, running, and cycling. |
FitnessOptions
|
Fitness options for requesting permissions via
GoogleSignIn.requestPermissions(android.app.Activity, int, GoogleSignInAccount,
GoogleSignInOptionsExtension) . |
FitnessOptions.Builder
|
Builder to build FitnessOptions. |
FitnessStatusCodes
|
Google Fit specific status codes, for use in
Status.getStatusCode()
|
GoalsClient
|
This class is deprecated. For reading and
writing historical fitness data use Health
Connect. |
HistoryApi.ViewIntentBuilder
|
Builder of intents to view data stored in Google
Fit. |
HistoryClient
|
This class is deprecated. For reading and
writing historical fitness data use Health
Connect. |
RecordingClient
|
Client which enables low-power, always-on
background collection of sensor data into the Google Fit store. |
SensorsClient
|
This class is deprecated. For apps targeting
Wear OS 3 use Health Services.
Otherwise for access to live sensor and location data use SensorManager
and FusedLocationProviderClient ,
respectively. |
SessionsApi.ViewIntentBuilder
|
Builder of intents to view sessions
stored in Google Fit. |
SessionsClient
|
This class is deprecated. For reading and
writing historical fitness data use Health Connect.
For recording sessions on Wear OS 3 devices use Health Services.
|
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 2022-05-26 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"
}]