Struct ashpd::desktop::camera::CameraProxy [−][src]
pub struct CameraProxy<'a>(_);
Expand description
The interface lets sandboxed applications access camera devices, such as web cams.
Implementations
Create a new instance of CameraProxy
.
Requests an access to the camera.
Open a file descriptor to the PipeWire remote where the camera nodes are available.
Returns a File descriptor of an open PipeWire remote.
A boolean stating whether there is any cameras available.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CameraProxy<'a>
impl<'a> Send for CameraProxy<'a>
impl<'a> Sync for CameraProxy<'a>
impl<'a> Unpin for CameraProxy<'a>
impl<'a> !UnwindSafe for CameraProxy<'a>