QueryAccountProfile [Player Network SDK Only]
[Player Network SDK Only] After logging in to the custom account, obtain user information through this interface. The information is in the profile field of ·AccountResult·.
Supported Platform
- Unity
- Unreal Engine
Supports
Android, iOS, Windows
platform.Supports
Android, iOS, Windows
platform.Function Definition
- Unity
- Unreal Engine
void QueryAccountProfile();
static void QueryAccountProfile();
Callback Processing
The callback processing API is GUAAccountResultObservers. The callback data structure is GUAAccountResult.
- Unity
- Unreal Engine
The callback event is AccountEvents.
The callback methodID is GUA_ACCOUNT_QUERY_ACCOUNT_PROFILE
.
The callback event is OnAccountResultNotify.
The callback methodID is kMethodIDAccountQueryAccountProfile
.
Code Sample
- Unity
- Unreal Engine
UnionAdapterAPI.GetAccountService().QueryAccountProfile();
GUA_NAMESPACE::GUAAccountService::QueryAccountProfile();