Close (MSDK Only)
[MSDK Only] Close the embedded browser.
Supported Platform
- Unity
- Unreal Engine
Supports
Android, iOS
platform.Supports
Android, iOS
platform.Function Definition
- Unity
- Unreal Engine
void Close();
static void Close();
Callback Processing
The callback processing API is GUAWebViewResultObserver. The callback data structure is GUAWebViewRet.
- Unity
- Unreal Engine
The callback event is WebViewRetEvents.
The callback methodID is GUA_WEBVIEW_CLOSE_URL
.
The callback event is OnWebViewOptNotify.
The callback methodID is kMethodIDWebviewCloseURL
.
Code Sample
- Unity
- Unreal Engine
UnionAdapterAPI.GetWebViewService().Close();
GUA_NAMESPACE::GUAWebViewService::Close();