Pico Unreal Platform SDK
FPicoSportInterface Class Reference

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

Detailed Description

PicoSportInterface class.

Member Function Documentation

◆ 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
BeginTimeA DateTime struct(FDateTime(int64 InTicks).GetTicks()) defining the begin time of the period.
EndTimeA DateTime struct(FDateTime(int64 InTicks).GetTicks()) defining the end time of the period.
InGetDailySummaryDelegateWill 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
InGetSportUserInfoDelegateWill 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
BeginTimeA DateTime struct(FDateTime(int64 InTicks).GetTicks()) defining the begin time of the period.
EndTimeA DateTime struct(FDateTime(int64 InTicks)GetTicks()) defining the end time of the period.
InGetSummaryDelegateWill be executed when the request has been completed. Delegate will contain the requested object class.
Returns
Bool:
  • true: success
  • false: failure