Skip to main content

list_cameras

Function list_cameras 

Source
pub async fn list_cameras() -> Vec<CameraView>
Expand description

Async helper: list every camera the OS exposes.

Returns an empty Vec when running outside Tauri (e.g. plain trunk serve browser preview), or when the OS has no cameras.