Function crabgrab::feature::screenshot::take_screenshot
source · pub async fn take_screenshot(
token: CaptureAccessToken,
config: CaptureConfig
) -> Result<VideoFrame, ScreenshotError>
Expand description
Take a screenshot of the capturable content given a configuration