Skip to main content

take_screenshot

Function take_screenshot 

Source
pub async fn take_screenshot(
    mode: String,
    monitor: Option<u32>,
    window_id: Option<u32>,
    store: State<'_, ImageStore>,
    app: AppHandle,
    window: WebviewWindow,
) -> Result<ScreenshotResponse, String>