跳到主要内容

请求账号信息(RequestAccountInfo)

如果您使用的是 Unreal Engine,请参见 Unreal Engine SDK 的 RequestAccountInfo。

在账号中心使用此接口获取账号信息。

函数定义​

public static void RequestAccountInfo(string extraJson);

入参说明​

参数类型说明
extraJsonstring额外参数 JSON 串

回调处理​

回调处理接口是 AuthAccountResultObserver。回调数据结构是 AccountResult。

回调方法 ID 是 INTL_AUTH_ACOUNT_INFO。

代码示例​

INTLAPI.RequestAccountInfo("");