WebView

class WebView

This class implements the Webview call function.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun closeWebView(@NonNull activity: Activity)
This method to close the webview in display on a screen.
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.
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.