Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newMediaStream :: MonadDOM m => m MediaStream
- newMediaStream' :: MonadDOM m => Maybe MediaStream -> m MediaStream
- newMediaStream'' :: (MonadDOM m, IsMediaStreamTrack tracks) => [Maybe tracks] -> m MediaStream
- getAudioTracks :: MonadDOM m => MediaStream -> m [Maybe MediaStreamTrack]
- getAudioTracks_ :: MonadDOM m => MediaStream -> m ()
- getVideoTracks :: MonadDOM m => MediaStream -> m [Maybe MediaStreamTrack]
- getVideoTracks_ :: MonadDOM m => MediaStream -> m ()
- getTracks :: MonadDOM m => MediaStream -> m [Maybe MediaStreamTrack]
- getTracks_ :: MonadDOM m => MediaStream -> m ()
- addTrack :: (MonadDOM m, IsMediaStreamTrack track) => MediaStream -> Maybe track -> m ()
- removeTrack :: (MonadDOM m, IsMediaStreamTrack track) => MediaStream -> Maybe track -> m ()
- getTrackById :: (MonadDOM m, ToJSString trackId) => MediaStream -> trackId -> m (Maybe MediaStreamTrack)
- getTrackById_ :: (MonadDOM m, ToJSString trackId) => MediaStream -> trackId -> m ()
- getTrackByIdUnsafe :: (MonadDOM m, ToJSString trackId, HasCallStack) => MediaStream -> trackId -> m MediaStreamTrack
- getTrackByIdUnchecked :: (MonadDOM m, ToJSString trackId) => MediaStream -> trackId -> m MediaStreamTrack
- clone :: MonadDOM m => MediaStream -> m (Maybe MediaStream)
- clone_ :: MonadDOM m => MediaStream -> m ()
- cloneUnsafe :: (MonadDOM m, HasCallStack) => MediaStream -> m MediaStream
- cloneUnchecked :: MonadDOM m => MediaStream -> m MediaStream
- getId :: (MonadDOM m, FromJSString result) => MediaStream -> m result
- getActive :: MonadDOM m => MediaStream -> m Bool
- active :: EventName MediaStream Event
- inactive :: EventName MediaStream Event
- addTrackEvent :: EventName MediaStream Event
- removeTrackEvent :: EventName MediaStream Event
- newtype MediaStream = MediaStream {}
- gTypeMediaStream :: JSM GType
Documentation
newMediaStream' :: MonadDOM m => Maybe MediaStream -> m MediaStream Source #
newMediaStream'' :: (MonadDOM m, IsMediaStreamTrack tracks) => [Maybe tracks] -> m MediaStream Source #
getAudioTracks :: MonadDOM m => MediaStream -> m [Maybe MediaStreamTrack] Source #
getAudioTracks_ :: MonadDOM m => MediaStream -> m () Source #
getVideoTracks :: MonadDOM m => MediaStream -> m [Maybe MediaStreamTrack] Source #
getVideoTracks_ :: MonadDOM m => MediaStream -> m () Source #
getTracks :: MonadDOM m => MediaStream -> m [Maybe MediaStreamTrack] Source #
getTracks_ :: MonadDOM m => MediaStream -> m () Source #
addTrack :: (MonadDOM m, IsMediaStreamTrack track) => MediaStream -> Maybe track -> m () Source #
removeTrack :: (MonadDOM m, IsMediaStreamTrack track) => MediaStream -> Maybe track -> m () Source #
getTrackById :: (MonadDOM m, ToJSString trackId) => MediaStream -> trackId -> m (Maybe MediaStreamTrack) Source #
getTrackById_ :: (MonadDOM m, ToJSString trackId) => MediaStream -> trackId -> m () Source #
getTrackByIdUnsafe :: (MonadDOM m, ToJSString trackId, HasCallStack) => MediaStream -> trackId -> m MediaStreamTrack Source #
getTrackByIdUnchecked :: (MonadDOM m, ToJSString trackId) => MediaStream -> trackId -> m MediaStreamTrack Source #
clone :: MonadDOM m => MediaStream -> m (Maybe MediaStream) Source #
clone_ :: MonadDOM m => MediaStream -> m () Source #
cloneUnsafe :: (MonadDOM m, HasCallStack) => MediaStream -> m MediaStream Source #
cloneUnchecked :: MonadDOM m => MediaStream -> m MediaStream 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: