setCutoutAreaColor
This method sets webView cutout area's background color when renderOutsideSafeArea is false. Please refer to https://developer.android.com/develop/ui/views/layout/display-cutout. The default color value is obtained using Javascript's window.getComputedStyle('body').getPropertyValue('background-color')
. If an error occurs (e.g., the body element is not found, or the computed style is inaccessible), the default value of "rgba(255, 255, 255, 1)" (opaque white) is applied. Only applied to Browser type.
Since
Added 2.69.0.
Return
The builder of configuration.
Parameters
cutoutAreaColor
the color value to apply cutout area.