| java.lang.Object | |
| ↳ | com.google.android.gms.fitness.Subscription |
Subscription for persistent storage of data from a given data source or for a
given data type.
Example usage:
new Subscription.Builder()
.setDataType(DataTypes.ACTIVITY_SAMPLE)
.setSamplingRate(5, TimeUnit.MINUTES) // sample every 5 minutes
.build();
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
| |||||||||||
From interface
com.google.android.gms.common.internal.safeparcel.SafeParcelable
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CREATOR | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the accuracy mode for this subscription, if specified.
| |||||||||||
Returns the data source for this subscription, if specified.
| |||||||||||
Returns the data type for this subscription, if specified.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
| |||||||||||
Returns the accuracy mode for this subscription, if specified.