Skip to main content

open_settings_screen_recording

Function open_settings_screen_recording 

Source
pub fn open_settings_screen_recording() -> Result<(), String>
Expand description

Shell out to open System Settings → Privacy & Security → Screen Recording. macOS only — Windows + Linux return a no-op Ok(()) because neither has a system-level Screen Recording pane the recorder can deep-link to.

§Errors

Returns the OS spawn error as a string.