Android webView 中的 `webView.getSolidColor();` 有什么用?

What is the use of `webView.getSolidColor();` in Android webView?

我试图获取加载到 webView 中的当前网站的主题颜色。我发现这个函数叫做 webView.getSolidColor();,其中 returns int color 类型值。这个函数是做什么用的?

此函数 "Returns the known solid color background for this view" 如果已知您的视图始终绘制在纯色背景之上并且需要绘制渐变边缘,则重写此函数。