查询自建账号用户信息(QueryAccountProfile)
AndroidiOSPC端
如果您使用的是 Unity 引擎,请参见 Unity SDK 的 QueryAccountProfile。
登录自建账号后,可以通过此接口获取用户信息。信息在 AccountResult 的 profile 字段。
函数定义
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool QueryAccountProfile();
回调处理
回调处理接口是 AuthAccountResultObserver。回调数据结构是 AccountResult。
回调 ID 是 kMethodIDAuthQueryAccountProfile。
代码示例
UINTLSDKAPI::QueryAccountProfile();