Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- generateRequest :: (MonadDOM m, ToJSString initDataType, IsBufferSource initData) => MediaKeySession -> initDataType -> initData -> m ()
- load :: (MonadDOM m, ToJSString sessionId) => MediaKeySession -> sessionId -> m Bool
- load_ :: (MonadDOM m, ToJSString sessionId) => MediaKeySession -> sessionId -> m ()
- update :: (MonadDOM m, IsBufferSource response) => MediaKeySession -> response -> m ()
- close :: MonadDOM m => MediaKeySession -> m ()
- remove :: MonadDOM m => MediaKeySession -> m ()
- getSessionId :: (MonadDOM m, FromJSString result) => MediaKeySession -> m result
- getExpiration :: MonadDOM m => MediaKeySession -> m Double
- getClosed :: MonadDOM m => MediaKeySession -> m ()
- getKeyStatuses :: MonadDOM m => MediaKeySession -> m MediaKeyStatusMap
- keystatuseschange :: EventName MediaKeySession onkeystatuseschange
- message :: EventName MediaKeySession MessageEvent
- newtype MediaKeySession = MediaKeySession {}
- gTypeMediaKeySession :: JSM GType
Documentation
generateRequest :: (MonadDOM m, ToJSString initDataType, IsBufferSource initData) => MediaKeySession -> initDataType -> initData -> m () Source #
load :: (MonadDOM m, ToJSString sessionId) => MediaKeySession -> sessionId -> m Bool Source #
load_ :: (MonadDOM m, ToJSString sessionId) => MediaKeySession -> sessionId -> m () Source #
update :: (MonadDOM m, IsBufferSource response) => MediaKeySession -> response -> m () Source #
close :: MonadDOM m => MediaKeySession -> m () Source #
remove :: MonadDOM m => MediaKeySession -> m () Source #
getSessionId :: (MonadDOM m, FromJSString result) => MediaKeySession -> m result Source #
getExpiration :: MonadDOM m => MediaKeySession -> m Double Source #
getClosed :: MonadDOM m => MediaKeySession -> m () Source #
getKeyStatuses :: MonadDOM m => MediaKeySession -> m MediaKeyStatusMap Source #
keystatuseschange :: EventName MediaKeySession onkeystatuseschange Source #
newtype MediaKeySession Source #
Functions for this inteface are in JSDOM.MediaKeySession. Base interface functions are in:
Instances
PToJSVal MediaKeySession Source # | |
Defined in JSDOM.Types pToJSVal :: MediaKeySession -> JSVal # | |
PFromJSVal MediaKeySession Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> MediaKeySession # | |
ToJSVal MediaKeySession Source # | |
Defined in JSDOM.Types toJSVal :: MediaKeySession -> JSM JSVal # toJSValListOf :: [MediaKeySession] -> JSM JSVal # | |
FromJSVal MediaKeySession Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe MediaKeySession) # fromJSValUnchecked :: JSVal -> JSM MediaKeySession # fromJSValListOf :: JSVal -> JSM (Maybe [MediaKeySession]) # fromJSValUncheckedListOf :: JSVal -> JSM [MediaKeySession] # | |
MakeObject MediaKeySession Source # | |
Defined in JSDOM.Types makeObject :: MediaKeySession -> JSM Object # | |
IsEventTarget MediaKeySession Source # | |
Defined in JSDOM.Types | |
IsGObject MediaKeySession Source # | |
Defined in JSDOM.Types typeGType :: MediaKeySession -> JSM GType |