pageDown

abstract fun pageDown(scope: CoroutineScope, bottom: Boolean): Deferred<Boolean>

将网页视图(WebView)向下滚动。

Return

Deferred 对象,其计算结果为 Boolean。 - true: 视图成功进行了滚动。 - false: 视图已经在底部,无法再向下滚动。

Parameters

scope

协程作用域,用于执行异步操作。

bottom

滚动模式标志。 - true: 直接滚动到网页的最底端。 - false: 仅向下翻一页(通常是向下滚动当前视图高度的一半)。