Skip to main content

init

Function init 

Source
pub fn init() -> bool
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.