Close embedded browser (Close) (MSDK only)
[MSDK only] Closes the embedded browser.
Supported Platforms
- Unity
- Unreal Engine
Supports
Android, iOS platform.Supports
Android, iOS platform.Function Definition
- Unity
- Unreal Engine
void Close();
static void Close();
Callback Handling
The callback handling 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().Close();
GUA_NAMESPACE::GUAWebViewService::Close();