Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data CaptionLanguageMapping = CaptionLanguageMapping' {}
- newCaptionLanguageMapping :: Text -> Text -> Natural -> CaptionLanguageMapping
- captionLanguageMapping_languageCode :: Lens' CaptionLanguageMapping Text
- captionLanguageMapping_languageDescription :: Lens' CaptionLanguageMapping Text
- captionLanguageMapping_captionChannel :: Lens' CaptionLanguageMapping Natural
Documentation
data CaptionLanguageMapping Source #
Maps a caption channel to an ISO 693-2 language code (http://www.loc.gov/standards/iso639-2), with an optional description.
See: newCaptionLanguageMapping
smart constructor.
CaptionLanguageMapping' | |
|
Instances
newCaptionLanguageMapping Source #
:: Text | |
-> Text | |
-> Natural | |
-> CaptionLanguageMapping |
Create a value of CaptionLanguageMapping
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:languageCode:CaptionLanguageMapping'
, captionLanguageMapping_languageCode
- Three character ISO 639-2 language code (see
http://www.loc.gov/standards/iso639-2)
$sel:languageDescription:CaptionLanguageMapping'
, captionLanguageMapping_languageDescription
- Textual description of language
$sel:captionChannel:CaptionLanguageMapping'
, captionLanguageMapping_captionChannel
- The closed caption channel being described by this
CaptionLanguageMapping. Each channel mapping must have a unique channel
number (maximum of 4)
captionLanguageMapping_languageCode :: Lens' CaptionLanguageMapping Text Source #
Three character ISO 639-2 language code (see http://www.loc.gov/standards/iso639-2)
captionLanguageMapping_languageDescription :: Lens' CaptionLanguageMapping Text Source #
Textual description of language
captionLanguageMapping_captionChannel :: Lens' CaptionLanguageMapping Natural Source #
The closed caption channel being described by this CaptionLanguageMapping. Each channel mapping must have a unique channel number (maximum of 4)