Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newMediaKeys :: (MonadDOM m, ToJSString keySystem) => keySystem -> m MediaKeys
- createSession :: (MonadDOM m, ToJSString type', IsUint8Array initData) => MediaKeys -> type' -> Maybe initData -> m (Maybe MediaKeySession)
- createSession_ :: (MonadDOM m, ToJSString type', IsUint8Array initData) => MediaKeys -> type' -> Maybe initData -> m ()
- createSessionUnsafe :: (MonadDOM m, ToJSString type', IsUint8Array initData, HasCallStack) => MediaKeys -> type' -> Maybe initData -> m MediaKeySession
- createSessionUnchecked :: (MonadDOM m, ToJSString type', IsUint8Array initData) => MediaKeys -> type' -> Maybe initData -> m MediaKeySession
- isTypeSupported :: (MonadDOM m, ToJSString keySystem, ToJSString type') => MediaKeys -> keySystem -> type' -> m Bool
- isTypeSupported_ :: (MonadDOM m, ToJSString keySystem, ToJSString type') => MediaKeys -> keySystem -> type' -> m ()
- getKeySystem :: (MonadDOM m, FromJSString result) => MediaKeys -> m result
- newtype MediaKeys = MediaKeys {
- unMediaKeys :: JSVal
- gTypeMediaKeys :: JSM GType
Documentation
newMediaKeys :: (MonadDOM m, ToJSString keySystem) => keySystem -> m MediaKeys Source #
createSession :: (MonadDOM m, ToJSString type', IsUint8Array initData) => MediaKeys -> type' -> Maybe initData -> m (Maybe MediaKeySession) Source #
createSession_ :: (MonadDOM m, ToJSString type', IsUint8Array initData) => MediaKeys -> type' -> Maybe initData -> m () Source #
createSessionUnsafe :: (MonadDOM m, ToJSString type', IsUint8Array initData, HasCallStack) => MediaKeys -> type' -> Maybe initData -> m MediaKeySession Source #
createSessionUnchecked :: (MonadDOM m, ToJSString type', IsUint8Array initData) => MediaKeys -> type' -> Maybe initData -> m MediaKeySession Source #
isTypeSupported :: (MonadDOM m, ToJSString keySystem, ToJSString type') => MediaKeys -> keySystem -> type' -> m Bool Source #
isTypeSupported_ :: (MonadDOM m, ToJSString keySystem, ToJSString type') => MediaKeys -> keySystem -> type' -> m () Source #
getKeySystem :: (MonadDOM m, FromJSString result) => MediaKeys -> m result Source #
Functions for this inteface are in JSDOM.MediaKeys.