captureScreenshotAsync

fun captureScreenshotAsync(width: Int, height: Int): Future<Bitmap?>

Captures a screenshot synchronously using Future

Return

Future that will contain the screenshot

Parameters

width

Width of the screenshot

height

Height of the screenshot