Safe Haskell | None |
---|---|
Language | Haskell2010 |
- js_newMediaKeys :: JSString -> IO MediaKeys
- newMediaKeys :: (MonadIO m, ToJSString keySystem) => keySystem -> m MediaKeys
- js_createSession :: MediaKeys -> JSString -> Nullable Uint8Array -> IO (Nullable MediaKeySession)
- createSession :: (MonadIO m, ToJSString type', IsUint8Array initData) => MediaKeys -> type' -> Maybe initData -> m (Maybe MediaKeySession)
- createSession_ :: (MonadIO m, ToJSString type', IsUint8Array initData) => MediaKeys -> type' -> Maybe initData -> m ()
- createSessionUnsafe :: (MonadIO m, ToJSString type', IsUint8Array initData, HasCallStack) => MediaKeys -> type' -> Maybe initData -> m MediaKeySession
- createSessionUnchecked :: (MonadIO m, ToJSString type', IsUint8Array initData) => MediaKeys -> type' -> Maybe initData -> m MediaKeySession
- js_isTypeSupported :: MediaKeys -> JSString -> JSString -> IO Bool
- isTypeSupported :: (MonadIO m, ToJSString keySystem, ToJSString type') => MediaKeys -> keySystem -> type' -> m Bool
- isTypeSupported_ :: (MonadIO m, ToJSString keySystem, ToJSString type') => MediaKeys -> keySystem -> type' -> m ()
- js_getKeySystem :: MediaKeys -> IO JSString
- getKeySystem :: (MonadIO m, FromJSString result) => MediaKeys -> m result
- newtype MediaKeys = MediaKeys {
- unMediaKeys :: JSVal
- gTypeMediaKeys :: GType
Documentation
newMediaKeys :: (MonadIO m, ToJSString keySystem) => keySystem -> m MediaKeys Source #
js_createSession :: MediaKeys -> JSString -> Nullable Uint8Array -> IO (Nullable MediaKeySession) Source #
createSession :: (MonadIO m, ToJSString type', IsUint8Array initData) => MediaKeys -> type' -> Maybe initData -> m (Maybe MediaKeySession) Source #
createSession_ :: (MonadIO m, ToJSString type', IsUint8Array initData) => MediaKeys -> type' -> Maybe initData -> m () Source #
createSessionUnsafe :: (MonadIO m, ToJSString type', IsUint8Array initData, HasCallStack) => MediaKeys -> type' -> Maybe initData -> m MediaKeySession Source #
createSessionUnchecked :: (MonadIO m, ToJSString type', IsUint8Array initData) => MediaKeys -> type' -> Maybe initData -> m MediaKeySession Source #
isTypeSupported :: (MonadIO m, ToJSString keySystem, ToJSString type') => MediaKeys -> keySystem -> type' -> m Bool Source #
isTypeSupported_ :: (MonadIO m, ToJSString keySystem, ToJSString type') => MediaKeys -> keySystem -> type' -> m () Source #
getKeySystem :: (MonadIO m, FromJSString result) => MediaKeys -> m result Source #
Functions for this inteface are in GHCJS.DOM.MediaKeys.