pub trait MediaDevicesMethods<D: DomTypes> {
    // Required methods
    fn EnumerateDevices(&self, _can_gc: CanGc) -> Rc<Promise>;
    fn GetUserMedia(
        &self,
        constraints: &MediaStreamConstraints,
        _comp: InRealm<'_>,
        _can_gc: CanGc,
    ) -> Rc<Promise>;
}

Required Methods§

source

fn EnumerateDevices(&self, _can_gc: CanGc) -> Rc<Promise>

source

fn GetUserMedia( &self, constraints: &MediaStreamConstraints, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<Promise>

Implementors§