|
PICO Unreal Platform SDK
|
PicoSportInterface class. More...
#include <Pico_Sport.h>
Public Member Functions | |
| 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.
| 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.
| 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 (bool, bIsError, const FString&, ErrorMessage, UPico_SportDailySummaryArray *, SportDailySummaryArray). |
true: success false: failure | bool GetSportUserInfo | ( | FGetSportUserInfo | InGetSportUserInfoDelegate | ) |
Gets a user's basic information and exercise plan.
| InGetSportUserInfoDelegate | Will be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, const FString&, ErrorMessage, UPico_SportUserInfo *, SportUserInfo). |
true: success false: failure | 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.
| 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 (bool, bIsError, const FString&, ErrorMessage, UPico_SportSummary *, SportSummary). |
true: success false: failure