Safe Haskell | None |
---|---|
Language | Haskell2010 |
- enumerateDevices :: MonadDOM m => MediaDevices -> m [MediaDeviceInfo]
- enumerateDevices_ :: MonadDOM m => MediaDevices -> m ()
- getSupportedConstraints :: MonadDOM m => MediaDevices -> m MediaTrackSupportedConstraints
- getSupportedConstraints_ :: MonadDOM m => MediaDevices -> m ()
- getUserMedia :: MonadDOM m => MediaDevices -> Maybe MediaStreamConstraints -> m MediaStream
- getUserMedia_ :: MonadDOM m => MediaDevices -> Maybe MediaStreamConstraints -> m ()
- devicechange :: EventName MediaDevices ondevicechange
- newtype MediaDevices = MediaDevices {}
- gTypeMediaDevices :: JSM GType
Documentation
enumerateDevices :: MonadDOM m => MediaDevices -> m [MediaDeviceInfo] Source #
enumerateDevices_ :: MonadDOM m => MediaDevices -> m () Source #
getSupportedConstraints_ :: MonadDOM m => MediaDevices -> m () Source #
getUserMedia :: MonadDOM m => MediaDevices -> Maybe MediaStreamConstraints -> m MediaStream Source #
getUserMedia_ :: MonadDOM m => MediaDevices -> Maybe MediaStreamConstraints -> m () Source #
devicechange :: EventName MediaDevices ondevicechange Source #
newtype MediaDevices Source #
Functions for this inteface are in JSDOM.MediaDevices.