Class: CaptionLanguage
Represents a caption language option
Implements
CaptionLanguageProperties
Properties
code
• code: string
Caption language code
Implementation of
CaptionLanguageProperties.code
isTranslatable
• isTranslatable: boolean
Whether this language is translatable
Implementation of
CaptionLanguageProperties.isTranslatable
name
• name: string
Caption language name
Implementation of
CaptionLanguageProperties.name
url
• url: string
Caption language url
Implementation of
CaptionLanguageProperties.url
Methods
get
▸ get(translationLanguageCode?): Promise<undefined | Caption[]>
Get the captions of this language using the url
Parameters
| Name | Type |
|---|---|
translationLanguageCode? | string |
Returns
Promise<undefined | Caption[]>