Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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.