Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
DiscovererStreamInfo
specific to subtitle streams (this includes text and
image based ones).
Synopsis
- newtype DiscovererSubtitleInfo = DiscovererSubtitleInfo (ManagedPtr DiscovererSubtitleInfo)
- class GObject o => IsDiscovererSubtitleInfo o
- toDiscovererSubtitleInfo :: (MonadIO m, IsDiscovererSubtitleInfo o) => o -> m DiscovererSubtitleInfo
- noDiscovererSubtitleInfo :: Maybe DiscovererSubtitleInfo
- discovererSubtitleInfoGetLanguage :: (HasCallStack, MonadIO m, IsDiscovererSubtitleInfo a) => a -> m Text
Exported types
newtype DiscovererSubtitleInfo Source #
Memory-managed wrapper type.
Instances
class GObject o => IsDiscovererSubtitleInfo o Source #
Type class for types which can be safely cast to DiscovererSubtitleInfo
, for instance with toDiscovererSubtitleInfo
.
Instances
toDiscovererSubtitleInfo :: (MonadIO m, IsDiscovererSubtitleInfo o) => o -> m DiscovererSubtitleInfo Source #
Cast to DiscovererSubtitleInfo
, for types for which this is known to be safe. For general casts, use castTo
.
noDiscovererSubtitleInfo :: Maybe DiscovererSubtitleInfo Source #
A convenience alias for Nothing
:: Maybe
DiscovererSubtitleInfo
.
Methods
getLanguage
discovererSubtitleInfoGetLanguage Source #
:: (HasCallStack, MonadIO m, IsDiscovererSubtitleInfo a) | |
=> a |
|
-> m Text | Returns: the language of the stream, or NULL if unknown. |
No description available in the introspection data.