PicoSportInterface class.
More...
#include <Pico_Sport.h>
|
bool | GetDailySummary (int64 BeginTime, int64 EndTime, FGetDailySummary InGetDailySummaryDelegate) |
| Gets a summary of the user's daily exercise data for a specified period within the recent 3 months. For example, if the period you set is between 2022/08/16 and 2022/08/18, the exercise data generated on 08/16, 08/17, and 08/18 will be returned. More...
|
|
bool | GetSummary (int64 BeginTime, int64 EndTime, FGetSummary InGetSummaryDelegate) |
| Gets a summary of the user's exercise data for a specified duration within today. The duration should not exceed 24 hours. More...
|
|
bool | GetSportUserInfo (FGetSportUserInfo InGetSportUserInfoDelegate) |
| Gets a user's basic information and exercise plan. More...
|
|
PicoSportInterface class.
◆ GetDailySummary()
bool GetDailySummary |
( |
int64 |
BeginTime, |
|
|
int64 |
EndTime, |
|
|
FGetDailySummary |
InGetDailySummaryDelegate |
|
) |
| |
Gets a summary of the user's daily exercise data for a specified period within the recent 3 months. For example, if the period you set is between 2022/08/16 and 2022/08/18, the exercise data generated on 08/16, 08/17, and 08/18 will be returned.
- Note
- Available in Mainland China only.
- Parameters
-
BeginTime | A DateTime struct(FDateTime(int64 InTicks).GetTicks()) defining the begin time of the period. |
EndTime | A DateTime struct(FDateTime(int64 InTicks).GetTicks()) defining the end time of the period. |
InGetDailySummaryDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class. |
- Returns
- Bool:
-
true
: success
-
false
: failure
◆ GetSportUserInfo()
bool GetSportUserInfo |
( |
FGetSportUserInfo |
InGetSportUserInfoDelegate | ) |
|
Gets a user's basic information and exercise plan.
- Note
- Available in Mainland China only.
- Parameters
-
InGetSportUserInfoDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class. |
- Returns
- Bool:
-
true
: success
-
false
: failure
◆ GetSummary()
bool GetSummary |
( |
int64 |
BeginTime, |
|
|
int64 |
EndTime, |
|
|
FGetSummary |
InGetSummaryDelegate |
|
) |
| |
Gets a summary of the user's exercise data for a specified duration within today. The duration should not exceed 24 hours.
- Note
- Available in Mainland China only.
- Parameters
-
BeginTime | A DateTime struct(FDateTime(int64 InTicks).GetTicks()) defining the begin time of the period. |
EndTime | A DateTime struct(FDateTime(int64 InTicks)GetTicks()) defining the end time of the period. |
InGetSummaryDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class. |
- Returns
- Bool:
-
true
: success
-
false
: failure