Open Account Deletion Page (OpenDeleteAccountUrl) [MSD Only]
Open the account deletion page. [MSD Only].
Supported Platforms
- Unity
- Unreal Engine
Supports
Android, iOS platform.Supports
Android, iOS platform.Function Definition
- Unity
- Unreal Engine
void OpenDeleteAccountUrl(string url,
int screenType = 1,
bool isFullScreen = false,
string extraJson = "");
static void OpenDeleteAccountUrl(
const std::string &url,
int screen_type = 1,
bool full_screen_enable = false,
const std::string &extra_json = "{}");
Input Parameters
- Unity
- Unreal Engine
| Parameters | Type | Description |
|---|---|---|
| url | string | Game Data Authorization Page URL |
| screenType | int | Screen orientation 1: Landscape and portrait 2: Portrait 3: Landscape |
| isFullScreen | bool | Full screen enabled |
| extraJson | string | Extended Field |
| Parameters | Type | Description |
|---|---|---|
| url | std::string | Game Data Authorization Page URL |
| screen_type | int | Screen orientation 1: Landscape and portrait 2: Portrait 3: Landscape |
| full_screen_enable | bool | Full screen enabled |
| extra_json | std::string | Extended Field |
Callback Handling
The callback handler interface is GUAWebViewResultObserver.The callback data structure is GUAWebViewRet.
- Unity
- Unreal Engine
The callback event is WebViewRetEvents. The callback ID is GUA_WEBVIEW_CLOSE_URL.
The callback event is OnWebViewOptNotify. The callback ID is kMethodIDWebviewCloseURL.
Code Example
- Unity
- Unreal Engine
UnionAdapterAPI.GetWebViewService().OpenDeleteAccountUrl("url");
GUA_NAMESPACE::GUAWebViewService::OpenDeleteAccountUrl("Url");