Skip to main content

Close embedded browser (Close) (MSDK only)

[MSDK only] Closes the embedded browser.

Supported Platforms

Supports Android, iOS platform.

Function Definition

void Close();

Callback Handling

The callback handling interface is GUAWebViewResultObserver.The callback data structure is GUAWebViewRet.

The callback event is WebViewRetEvents. The callback ID is GUA_WEBVIEW_CLOSE_URL.

Code Example

UnionAdapterAPI.GetWebViewService().Close();