Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newMediaDeviceInfo :: (MonadDOM m, ToJSString deviceId, ToJSString label, ToJSString groupId) => deviceId -> label -> groupId -> MediaDeviceKind -> m MediaDeviceInfo
- getDeviceId :: (MonadDOM m, FromJSString result) => MediaDeviceInfo -> m result
- getKind :: MonadDOM m => MediaDeviceInfo -> m MediaDeviceKind
- getLabel :: (MonadDOM m, FromJSString result) => MediaDeviceInfo -> m result
- getGroupId :: (MonadDOM m, FromJSString result) => MediaDeviceInfo -> m result
- newtype MediaDeviceInfo = MediaDeviceInfo {}
- gTypeMediaDeviceInfo :: JSM GType
Documentation
newMediaDeviceInfo :: (MonadDOM m, ToJSString deviceId, ToJSString label, ToJSString groupId) => deviceId -> label -> groupId -> MediaDeviceKind -> m MediaDeviceInfo Source #
getDeviceId :: (MonadDOM m, FromJSString result) => MediaDeviceInfo -> m result Source #
getKind :: MonadDOM m => MediaDeviceInfo -> m MediaDeviceKind Source #
getLabel :: (MonadDOM m, FromJSString result) => MediaDeviceInfo -> m result Source #
getGroupId :: (MonadDOM m, FromJSString result) => MediaDeviceInfo -> m result Source #
newtype MediaDeviceInfo Source #
Functions for this inteface are in JSDOM.MediaDeviceInfo.
Instances
PToJSVal MediaDeviceInfo Source # | |
Defined in JSDOM.Types pToJSVal :: MediaDeviceInfo -> JSVal # | |
PFromJSVal MediaDeviceInfo Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> MediaDeviceInfo # | |
ToJSVal MediaDeviceInfo Source # | |
Defined in JSDOM.Types toJSVal :: MediaDeviceInfo -> JSM JSVal # toJSValListOf :: [MediaDeviceInfo] -> JSM JSVal # | |
FromJSVal MediaDeviceInfo Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe MediaDeviceInfo) # fromJSValUnchecked :: JSVal -> JSM MediaDeviceInfo # fromJSValListOf :: JSVal -> JSM (Maybe [MediaDeviceInfo]) # fromJSValUncheckedListOf :: JSVal -> JSM [MediaDeviceInfo] # | |
MakeObject MediaDeviceInfo Source # | |
Defined in JSDOM.Types makeObject :: MediaDeviceInfo -> JSM Object # | |
IsGObject MediaDeviceInfo Source # | |
Defined in JSDOM.Types typeGType :: MediaDeviceInfo -> JSM GType |