总览

takeScreenshot(displayId?): Promise<Image>

截屏。需要安卓11或以上。

参数

名称类型默认值描述
displayIdnumber0屏幕ID

返回值

Promise<Image>

返回截屏图片的Promise。


2023-02-15