captureBitmap

abstract fun captureBitmap(): Bitmap?

对显示设备进行截图并返回 Bitmap

Return

如果截图成功则返回Bitmap对象,否则返回null