Gamebase SDK for Android
2.5.0
Toast Gamebase Platform
|
This class implements the Webview call function. More...
Static Public Member Functions | |
static void | openWebBrowser (@NonNull final Activity activity, @NonNull final String url) |
This method to create the web browser and display it on screen. More... | |
static void | showWebView (@NonNull final Activity activity, @NonNull final String url) |
This method to create the webview and display it on screen. More... | |
static void | showWebView (@NonNull Activity activity, @NonNull String url, @NonNull GamebaseWebViewConfiguration configuration) |
This method to create the webview and display it on screen. More... | |
static void | showWebView (@NonNull Activity activity, @NonNull String url, @NonNull GamebaseWebViewConfiguration configuration, GamebaseCallback onCloseCallback, List< String > schemeList, GamebaseDataCallback< String > onEvent) |
This method to create the webview and display it on screen. More... | |
static void | closeWebView (@NonNull Activity activity) |
This method to close the webview in display on a screen. More... | |
This class implements the Webview call function.
|
static |
This method to close the webview in display on a screen.
activity | Current activity. |
|
static |
This method to create the web browser and display it on screen.
activity | Current activity. |
url | The url of the resource to load. |
|
static |
This method to create the webview and display it on screen.
activity | Current activity. |
url | The url of the resource to load. |
|
static |
This method to create the webview and display it on screen.
activity | Current activity. |
url | The url of the resource to load. |
configuration | The configuration of webview. |
Example Usage:
|
static |
This method to create the webview and display it on screen.
activity | Current activity. |
url | The url of the resource to load. |
configuration | The configuration of webview. |
onCloseCallback | called when the browser closed. |
schemeList | for receiving events. |
onEvent | from Scheme list. |
Example Usage: