Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newMediaSession :: MonadDOM m => Maybe MediaSessionKind -> m MediaSession
- setMetadata :: MonadDOM m => MediaSession -> Maybe MediaMetadata -> m ()
- deactivate :: MonadDOM m => MediaSession -> m ()
- getKind :: MonadDOM m => MediaSession -> m MediaSessionKind
- getControls :: MonadDOM m => MediaSession -> m (Maybe MediaRemoteControls)
- getControlsUnsafe :: (MonadDOM m, HasCallStack) => MediaSession -> m MediaRemoteControls
- getControlsUnchecked :: MonadDOM m => MediaSession -> m MediaRemoteControls
- newtype MediaSession = MediaSession {}
- gTypeMediaSession :: JSM GType
Documentation
newMediaSession :: MonadDOM m => Maybe MediaSessionKind -> m MediaSession Source #
setMetadata :: MonadDOM m => MediaSession -> Maybe MediaMetadata -> m () Source #
deactivate :: MonadDOM m => MediaSession -> m () Source #
getKind :: MonadDOM m => MediaSession -> m MediaSessionKind Source #
getControls :: MonadDOM m => MediaSession -> m (Maybe MediaRemoteControls) Source #
getControlsUnsafe :: (MonadDOM m, HasCallStack) => MediaSession -> m MediaRemoteControls Source #
getControlsUnchecked :: MonadDOM m => MediaSession -> m MediaRemoteControls Source #
newtype MediaSession Source #
Functions for this inteface are in JSDOM.MediaSession.
Instances
PToJSVal MediaSession Source # | |
Defined in JSDOM.Types pToJSVal :: MediaSession -> JSVal # | |
PFromJSVal MediaSession Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> MediaSession # | |
ToJSVal MediaSession Source # | |
Defined in JSDOM.Types toJSVal :: MediaSession -> JSM JSVal # toJSValListOf :: [MediaSession] -> JSM JSVal # | |
FromJSVal MediaSession Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe MediaSession) # fromJSValUnchecked :: JSVal -> JSM MediaSession # fromJSValListOf :: JSVal -> JSM (Maybe [MediaSession]) # fromJSValUncheckedListOf :: JSVal -> JSM [MediaSession] # | |
MakeObject MediaSession Source # | |
Defined in JSDOM.Types makeObject :: MediaSession -> JSM Object # | |
IsGObject MediaSession Source # | |
Defined in JSDOM.Types typeGType :: MediaSession -> JSM GType |