Skip to main content

list_screen_displays

Function list_screen_displays 

Source
pub fn list_screen_displays() -> Result<Vec<DisplaySourceView>, String>
Expand description

Enumerate every display SCK can see (M-SCK.1 / AUT-268). Returns empty Vec on non-macOS targets.

ยงErrors

Returns the SCK error as a string when SCK refuses (TCC denied, enumeration failed).