AI-generated Key Takeaways
-
FitnessOptions is a class used to request permissions via GoogleSignIn.requestPermissions.
-
Permissions are specified through Fitness data types, which determine the required scopes for the signed-in GoogleSignInAccount.
-
It includes a nested builder class, FitnessOptions.Builder, for constructing FitnessOptions objects.
-
Constants ACCESS_READ and ACCESS_WRITE are defined, likely for specifying read or write access levels for fitness data.
-
Key public methods include builder(), equals(), getExtensionType(), getImpliedScopes(), hashCode(), and toBundle().
Fitness options for requesting permissions via GoogleSignIn.requestPermissions(android.app.Activity, int, GoogleSignInAccount,
GoogleSignInOptionsExtension)
.
Permissions are specified via Fitness data types, which will be used to determine the
scopes required for the signed in GoogleSignInAccount
.
Nested Class Summary
Constant Summary
| int | ACCESS_READ | * |
| int | ACCESS_WRITE | * |
|---|
Public Method Summary
| static FitnessOptions.Builder | builder
()
|
|---|---|
| boolean | |
| int | |
| List < Scope > | |
| int | hashCode
()
|
| Bundle | toBundle
()
|

