Trait script::dom::bindings::codegen::Bindings::MediaDevicesBinding::MediaDevices_Binding::MediaDevicesMethods
source · pub trait MediaDevicesMethods {
// Required methods
fn EnumerateDevices(&self, _can_gc: CanGc) -> Rc<Promise>;
fn GetUserMedia(
&self,
constraints: &MediaStreamConstraints,
_comp: InRealm<'_>,
_can_gc: CanGc,
) -> Rc<Promise>;
}