Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getSourceType :: MonadDOM m => MediaSourceStates -> m SourceTypeEnum
- getSourceId :: (MonadDOM m, FromJSString result) => MediaSourceStates -> m result
- getWidth :: MonadDOM m => MediaSourceStates -> m (Maybe Word)
- getWidthUnsafe :: (MonadDOM m, HasCallStack) => MediaSourceStates -> m Word
- getWidthUnchecked :: MonadDOM m => MediaSourceStates -> m Word
- getHeight :: MonadDOM m => MediaSourceStates -> m (Maybe Word)
- getHeightUnsafe :: (MonadDOM m, HasCallStack) => MediaSourceStates -> m Word
- getHeightUnchecked :: MonadDOM m => MediaSourceStates -> m Word
- getFrameRate :: MonadDOM m => MediaSourceStates -> m (Maybe Float)
- getFrameRateUnsafe :: (MonadDOM m, HasCallStack) => MediaSourceStates -> m Float
- getFrameRateUnchecked :: MonadDOM m => MediaSourceStates -> m Float
- getAspectRatio :: MonadDOM m => MediaSourceStates -> m (Maybe Float)
- getAspectRatioUnsafe :: (MonadDOM m, HasCallStack) => MediaSourceStates -> m Float
- getAspectRatioUnchecked :: MonadDOM m => MediaSourceStates -> m Float
- getFacingMode :: MonadDOM m => MediaSourceStates -> m (Maybe VideoFacingModeEnum)
- getFacingModeUnsafe :: (MonadDOM m, HasCallStack) => MediaSourceStates -> m VideoFacingModeEnum
- getFacingModeUnchecked :: MonadDOM m => MediaSourceStates -> m VideoFacingModeEnum
- getVolume :: MonadDOM m => MediaSourceStates -> m (Maybe Word)
- getVolumeUnsafe :: (MonadDOM m, HasCallStack) => MediaSourceStates -> m Word
- getVolumeUnchecked :: MonadDOM m => MediaSourceStates -> m Word
- newtype MediaSourceStates = MediaSourceStates {}
- gTypeMediaSourceStates :: JSM GType
Documentation
getSourceType :: MonadDOM m => MediaSourceStates -> m SourceTypeEnum Source #
getSourceId :: (MonadDOM m, FromJSString result) => MediaSourceStates -> m result Source #
getWidthUnsafe :: (MonadDOM m, HasCallStack) => MediaSourceStates -> m Word Source #
getWidthUnchecked :: MonadDOM m => MediaSourceStates -> m Word Source #
getHeightUnsafe :: (MonadDOM m, HasCallStack) => MediaSourceStates -> m Word Source #
getHeightUnchecked :: MonadDOM m => MediaSourceStates -> m Word Source #
getFrameRate :: MonadDOM m => MediaSourceStates -> m (Maybe Float) Source #
getFrameRateUnsafe :: (MonadDOM m, HasCallStack) => MediaSourceStates -> m Float Source #
getFrameRateUnchecked :: MonadDOM m => MediaSourceStates -> m Float Source #
getAspectRatio :: MonadDOM m => MediaSourceStates -> m (Maybe Float) Source #
getAspectRatioUnsafe :: (MonadDOM m, HasCallStack) => MediaSourceStates -> m Float Source #
getAspectRatioUnchecked :: MonadDOM m => MediaSourceStates -> m Float Source #
getFacingMode :: MonadDOM m => MediaSourceStates -> m (Maybe VideoFacingModeEnum) Source #
getFacingModeUnsafe :: (MonadDOM m, HasCallStack) => MediaSourceStates -> m VideoFacingModeEnum Source #
getVolumeUnsafe :: (MonadDOM m, HasCallStack) => MediaSourceStates -> m Word Source #
getVolumeUnchecked :: MonadDOM m => MediaSourceStates -> m Word Source #
newtype MediaSourceStates Source #
Functions for this inteface are in JSDOM.MediaSourceStates.