Skip to main content

Close (MSDK Only)

[MSDK Only] Close the embedded browser.

Supported Platform​

Supports Android, iOS platform.

Function Definition​

void Close();

Callback Processing​

The callback processing API is GUAWebViewResultObserver. The callback data structure is GUAWebViewRet.

The callback event is WebViewRetEvents. The callback methodID is GUA_WEBVIEW_CLOSE_URL.

Code Sample​

UnionAdapterAPI.GetWebViewService().Close();