Builder
Functions
Link copied to clipboard
This method creates an instance of GamebaseWebViewConfiguration.
Link copied to clipboard
open fun enableAutoCloseByCustomScheme(autoCloseByCustomScheme: Boolean): GamebaseWebViewConfiguration.Builder
Change whether webview is automatically closed when the custom scheme is activated.
Link copied to clipboard
This method fixes the font size.
Link copied to clipboard
open fun from(@NonNull configuration: GamebaseWebViewConfiguration): GamebaseWebViewConfiguration.Builder
This method creates an instance of Builder from GamebaseWebViewConfiguration.
Link copied to clipboard
open fun setBackButtonImageResource(@DrawableRes resourceId: Int): GamebaseWebViewConfiguration.Builder
open fun setBackButtonImageResource(@NonNull context: Context, @NonNull name: String): GamebaseWebViewConfiguration.Builder
This method sets the image of the back button.
Link copied to clipboard
This method sets the visibility of the back button of the WebView.
Link copied to clipboard
This method sets the background color of the webview.
Link copied to clipboard
open fun setCloseButtonImageResource(@DrawableRes resourceId: Int): GamebaseWebViewConfiguration.Builder
open fun setCloseButtonImageResource(@NonNull context: Context, @NonNull name: String): GamebaseWebViewConfiguration.Builder
This method sets the image of the close button.
Link copied to clipboard
This method sets the color of the webview's navigation bar.
Link copied to clipboard
This method sets the height of the navigation bar.
Link copied to clipboard
This method sets the visibility of the navigation bar of the WebView.
Link copied to clipboard
This method sets the rule of calculation of popup size.
Link copied to clipboard
This method sets the height dp size of the pop-up style web view.
Link copied to clipboard
This method sets the height ratio of the pop-up style web view.
Link copied to clipboard
This method sets the width dp size of the pop-up style web view.
Link copied to clipboard
This method sets the width ratio of the pop-up style web view.
Link copied to clipboard
open fun setRenderOutsideSafeArea(renderOutsideSafeArea: Boolean): GamebaseWebViewConfiguration.Builder
Apply Android display cutout mode to WebView.
Link copied to clipboard
This method sets the screen orientation of the webview.
Link copied to clipboard
This method sets the style of the WebView.
Link copied to clipboard
This method sets the title of the webview.