Skip to main content

init

Function init 

pub fn init() -> bool
Available on crate feature camera only.
Expand description

Request access to the system cameras. Always true on Linux/Windows. On macOS, blocks on the authorization prompt and returns whether access was granted; call once from main before launching the app.