Method GetSummary
GetSummary(DateTime, DateTime)
Get a summary of the user's exercise data for a specified period within the recent 24 hours. The period should not exceed 24 hours.
Declaration
public static YVRRequest<SportSummary> GetSummary(DateTime beginTime, DateTime endTime)
Parameters
Type | Name | Description |
---|---|---|
DateTime | beginTime | A DateTime struct defining the begin time of the period. The begin time should be no earlier than 24 hours before the current time. |
DateTime | endTime | A DateTime struct defining the end time of the period. |
Returns
Type | Description |
---|---|
YVRRequest<SportSummary> |
GetSummary(long, long)
Get a summary of the user's exercise data for a specified period within the recent 24 hours. The period should not exceed 24 hours.
Declaration
public static YVRRequest<SportSummary> GetSummary(long beginUnixTimeMillisecond, long endUnixTimeMillisecond)
Parameters
Type | Name | Description |
---|---|---|
long | beginUnixTimeMillisecond | A unix time in millisecond defining the begin time of the period. The begin time should be no earlier than 24 hours before the current time. |
long | endUnixTimeMillisecond | A unix time in millisecond defining the end time of the period. |
Returns
Type | Description |
---|---|
YVRRequest<SportSummary> |