# WebView

class WebView

This class implements the Webview call function.

## Constructors

WebView
Link copied to clipboard
constructor()

## Functions

closeWebView
Link copied to clipboard
open fun closeWebView(@NonNull activity: Activity)
This method to close the webview in display on a screen.
openWebBrowser
Link copied to clipboard
open fun openWebBrowser(@NonNull activity: Activity, @NonNull url: String)
This method to create the web browser and display it on screen.
showWebView
Link copied to clipboard
open fun showWebView(@NonNull activity: Activity, @NonNull url: String)
open fun showWebView(@NonNull activity: Activity, @NonNull url: String, @NonNull configuration: GamebaseWebViewConfiguration)
open fun showWebView(@NonNull activity: Activity, @NonNull url: String, @Nullable configuration: GamebaseWebViewConfiguration, onCloseCallback: GamebaseCallback, schemeList: List<String>, onEvent: GamebaseDataCallback<String>)
This method to create the webview and display it on screen.