Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newMediaSource :: MonadDOM m => m MediaSource
- addSourceBuffer :: (MonadDOM m, ToJSString type') => MediaSource -> type' -> m SourceBuffer
- addSourceBuffer_ :: (MonadDOM m, ToJSString type') => MediaSource -> type' -> m ()
- removeSourceBuffer :: MonadDOM m => MediaSource -> SourceBuffer -> m ()
- endOfStream :: MonadDOM m => MediaSource -> Maybe EndOfStreamError -> m ()
- isTypeSupported :: (MonadDOM m, ToJSString type') => type' -> m Bool
- isTypeSupported_ :: (MonadDOM m, ToJSString type') => type' -> m ()
- setLiveSeekableRange :: MonadDOM m => MediaSource -> Double -> Double -> m ()
- clearLiveSeekableRange :: MonadDOM m => MediaSource -> m ()
- getSourceBuffers :: MonadDOM m => MediaSource -> m SourceBufferList
- getActiveSourceBuffers :: MonadDOM m => MediaSource -> m SourceBufferList
- setDuration :: MonadDOM m => MediaSource -> Double -> m ()
- getDuration :: MonadDOM m => MediaSource -> m Double
- getReadyState :: MonadDOM m => MediaSource -> m ReadyState
- sourceopen :: EventName MediaSource onsourceopen
- sourceended :: EventName MediaSource onsourceended
- sourceclose :: EventName MediaSource onsourceclose
- newtype MediaSource = MediaSource {}
- gTypeMediaSource :: JSM GType
Documentation
addSourceBuffer :: (MonadDOM m, ToJSString type') => MediaSource -> type' -> m SourceBuffer Source #
addSourceBuffer_ :: (MonadDOM m, ToJSString type') => MediaSource -> type' -> m () Source #
removeSourceBuffer :: MonadDOM m => MediaSource -> SourceBuffer -> m () Source #
endOfStream :: MonadDOM m => MediaSource -> Maybe EndOfStreamError -> m () Source #
isTypeSupported :: (MonadDOM m, ToJSString type') => type' -> m Bool Source #
isTypeSupported_ :: (MonadDOM m, ToJSString type') => type' -> m () Source #
setLiveSeekableRange :: MonadDOM m => MediaSource -> Double -> Double -> m () Source #
clearLiveSeekableRange :: MonadDOM m => MediaSource -> m () Source #
getSourceBuffers :: MonadDOM m => MediaSource -> m SourceBufferList Source #
getActiveSourceBuffers :: MonadDOM m => MediaSource -> m SourceBufferList Source #
setDuration :: MonadDOM m => MediaSource -> Double -> m () Source #
getDuration :: MonadDOM m => MediaSource -> m Double Source #
getReadyState :: MonadDOM m => MediaSource -> m ReadyState Source #
sourceopen :: EventName MediaSource onsourceopen Source #
sourceended :: EventName MediaSource onsourceended Source #
sourceclose :: EventName MediaSource onsourceclose Source #
newtype MediaSource Source #
Functions for this inteface are in JSDOM.MediaSource. Base interface functions are in:
Instances
PToJSVal MediaSource Source # | |
Defined in JSDOM.Types pToJSVal :: MediaSource -> JSVal # | |
PFromJSVal MediaSource Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> MediaSource # | |
ToJSVal MediaSource Source # | |
Defined in JSDOM.Types toJSVal :: MediaSource -> JSM JSVal # toJSValListOf :: [MediaSource] -> JSM JSVal # | |
FromJSVal MediaSource Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe MediaSource) # fromJSValUnchecked :: JSVal -> JSM MediaSource # fromJSValListOf :: JSVal -> JSM (Maybe [MediaSource]) # fromJSValUncheckedListOf :: JSVal -> JSM [MediaSource] # | |
MakeObject MediaSource Source # | |
Defined in JSDOM.Types makeObject :: MediaSource -> JSM Object # | |
IsEventTarget MediaSource Source # | |
Defined in JSDOM.Types | |
IsMediaProvider MediaSource Source # | |
Defined in JSDOM.Types | |
IsGObject MediaSource Source # | |
Defined in JSDOM.Types typeGType :: MediaSource -> JSM GType |