DailyTotalResult

  • 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.

public class DailyTotalResult extends Object
implements Parcelable Result

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
String

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 null if the request failed.

public int hashCode ()

public String toString ()