Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newMediaStream :: MonadDOM m => m MediaStream
- newMediaStream' :: MonadDOM m => MediaStream -> m MediaStream
- newMediaStream'' :: (MonadDOM m, IsMediaStreamTrack tracks) => [tracks] -> m MediaStream
- getAudioTracks :: MonadDOM m => MediaStream -> m [MediaStreamTrack]
- getAudioTracks_ :: MonadDOM m => MediaStream -> m ()
- getVideoTracks :: MonadDOM m => MediaStream -> m [MediaStreamTrack]
- getVideoTracks_ :: MonadDOM m => MediaStream -> m ()
- getTracks :: MonadDOM m => MediaStream -> m [MediaStreamTrack]
- getTracks_ :: MonadDOM m => MediaStream -> m ()
- getTrackById :: (MonadDOM m, ToJSString trackId) => MediaStream -> trackId -> m MediaStreamTrack
- getTrackById_ :: (MonadDOM m, ToJSString trackId) => MediaStream -> trackId -> m ()
- addTrack :: (MonadDOM m, IsMediaStreamTrack track) => MediaStream -> track -> m ()
- removeTrack :: (MonadDOM m, IsMediaStreamTrack track) => MediaStream -> track -> m ()
- clone :: MonadDOM m => MediaStream -> m MediaStream
- clone_ :: MonadDOM m => MediaStream -> m ()
- getId :: (MonadDOM m, FromJSString result) => MediaStream -> m result
- getActive :: MonadDOM m => MediaStream -> m Bool
- addTrackEvent :: EventName MediaStream Event
- removeTrackEvent :: EventName MediaStream Event
- active :: EventName MediaStream Event
- inactive :: EventName MediaStream Event
- newtype MediaStream = MediaStream {}
- gTypeMediaStream :: JSM GType
Documentation
newMediaStream' :: MonadDOM m => MediaStream -> m MediaStream Source #
newMediaStream'' :: (MonadDOM m, IsMediaStreamTrack tracks) => [tracks] -> m MediaStream Source #
getAudioTracks :: MonadDOM m => MediaStream -> m [MediaStreamTrack] Source #
getAudioTracks_ :: MonadDOM m => MediaStream -> m () Source #
getVideoTracks :: MonadDOM m => MediaStream -> m [MediaStreamTrack] Source #
getVideoTracks_ :: MonadDOM m => MediaStream -> m () Source #
getTracks :: MonadDOM m => MediaStream -> m [MediaStreamTrack] Source #
getTracks_ :: MonadDOM m => MediaStream -> m () Source #
getTrackById :: (MonadDOM m, ToJSString trackId) => MediaStream -> trackId -> m MediaStreamTrack Source #
getTrackById_ :: (MonadDOM m, ToJSString trackId) => MediaStream -> trackId -> m () Source #
addTrack :: (MonadDOM m, IsMediaStreamTrack track) => MediaStream -> track -> m () Source #
removeTrack :: (MonadDOM m, IsMediaStreamTrack track) => MediaStream -> track -> m () Source #
clone :: MonadDOM m => MediaStream -> m MediaStream Source #
clone_ :: MonadDOM m => MediaStream -> m () Source #
getId :: (MonadDOM m, FromJSString result) => MediaStream -> m result Source #
newtype MediaStream Source #
Functions for this inteface are in JSDOM.MediaStream. Base interface functions are in:
Instances
PToJSVal MediaStream Source # | |
Defined in JSDOM.Types pToJSVal :: MediaStream -> JSVal # | |
PFromJSVal MediaStream Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> MediaStream # | |
ToJSVal MediaStream Source # | |
Defined in JSDOM.Types toJSVal :: MediaStream -> JSM JSVal # toJSValListOf :: [MediaStream] -> JSM JSVal # | |
FromJSVal MediaStream Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe MediaStream) # fromJSValUnchecked :: JSVal -> JSM MediaStream # fromJSValListOf :: JSVal -> JSM (Maybe [MediaStream]) # fromJSValUncheckedListOf :: JSVal -> JSM [MediaStream] # | |
MakeObject MediaStream Source # | |
Defined in JSDOM.Types makeObject :: MediaStream -> JSM Object # | |
IsEventTarget MediaStream Source # | |
Defined in JSDOM.Types | |
IsMediaProvider MediaStream Source # | |
Defined in JSDOM.Types | |
IsGObject MediaStream Source # | |
Defined in JSDOM.Types typeGType :: MediaStream -> JSM GType |