pub trait UserMediaPermissionRequestExt: 'static {
    fn is_for_audio_device(&self) -> bool;
    fn is_for_video_device(&self) -> bool;
    fn connect_is_for_audio_device_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_is_for_video_device_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }
Available on crate feature v2_8 only.
Expand description

Required Methods

Whether the media device to which the permission was requested has a microphone or not.

Whether the media device to which the permission was requested has a video capture capability or not.

Implementors