Page Summary
-
DailyTotalResult is a class that extends Object and implements Parcelable and Result.
-
It is the result of calling HistoryApi.readDailyTotal with a GoogleApiClient and DataType.
-
The total daily data for the requested data type can be accessed using the getTotal() method.
-
The result includes methods for checking equality, getting status, getting the total data set, calculating a hash code, and getting a string representation.
Result of
HistoryApi.readDailyTotal(com.google.android.gms.common.api.GoogleApiClient,
DataType). Use getTotal()
to access the data point containing the daily total for the requested data type.
Inherited Constant Summary
Public Method Summary
| boolean | |
| Status | |
| DataSet |
getTotal()
Returns the resulting data set containing the daily total for the requested
data type.
|
| int |
hashCode()
|
| String |
toString()
|
Inherited Method Summary
Public Methods
public boolean equals (Object o)
public Status getStatus ()
public DataSet getTotal ()
Returns the resulting data set containing the daily total for the requested data type.
Returns
- The resulting data set, empty if there was no data for the data type, and
nullif the request failed.