Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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.
Instances
PToJSVal MediaDevices Source # | |
Defined in JSDOM.Types pToJSVal :: MediaDevices -> JSVal # | |
PFromJSVal MediaDevices Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> MediaDevices # | |
ToJSVal MediaDevices Source # | |
Defined in JSDOM.Types toJSVal :: MediaDevices -> JSM JSVal # toJSValListOf :: [MediaDevices] -> JSM JSVal # | |
FromJSVal MediaDevices Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe MediaDevices) # fromJSValUnchecked :: JSVal -> JSM MediaDevices # fromJSValListOf :: JSVal -> JSM (Maybe [MediaDevices]) # fromJSValUncheckedListOf :: JSVal -> JSM [MediaDevices] # | |
MakeObject MediaDevices Source # | |
Defined in JSDOM.Types makeObject :: MediaDevices -> JSM Object # | |
IsGObject MediaDevices Source # | |
Defined in JSDOM.Types typeGType :: MediaDevices -> JSM GType |