绑定 UI [仅限 MSDK]
[仅限 MSD] 绑定 UI。
支持的平台
- Unity
- Unreal Engine
支持
Android, iOS, Windows 平台。支持
Android, iOS, Windows 平台。函数定义
- Unity
- Unreal Engine
void BindUI(string extraJson = "");
static void BindUI(const std::string &extra_json = "{}");
入参说明
- Unity
- Unreal Engine
| 参数 | 类型 | 描述 |
|---|---|---|
| extraJson | string | 扩展字段 更多信息,请参见相对渠道说明。 |
| 参数 | 类型 | 描述 |
|---|---|---|
| extra_json | std::string | 扩展字段 更多信息,请参见相对渠道说明。 |
回调处理
回调处理接口是 GUALoginResultObservers。回调数据结构是 GUALoginResult。
- Unity
- Unreal Engine
回调事件是 LoginResultEvents。 回调 ID 是 GUA_ACCOUNT_BINDUI。
回调事件是 OnLoginResultNotify。 回调 ID 是 kMethodIDAccountBindUI。