CaptionsInfo interface
属性
caption |
字幕的显示语言。 对应于 startCaptions / setCaptionLanguage 中指定的 captionLanguage。 |
caption |
字幕文本。 |
last |
上次更新字幕的时间戳。 |
result |
此标题数据可以分类的状态。 |
speaker | 说出字幕文本的呼叫参与者的信息。 |
spoken |
口语被解释为的语言。 对应于 startCaptions / setSpokenLanguage 中指定的语言。 |
spoken |
翻译为字幕语言之前的原始语音字幕文本 |
timestamp | 最初说出带字幕的单词的时间戳。 |
属性详细信息
captionLanguage
字幕的显示语言。 对应于 startCaptions / setCaptionLanguage 中指定的 captionLanguage。
captionLanguage?: string
属性值
string
captionText
字幕文本。
captionText: string
属性值
string
lastUpdatedTimestamp
上次更新字幕的时间戳。
lastUpdatedTimestamp?: Date
属性值
Date
resultType
speaker
spokenLanguage
口语被解释为的语言。 对应于 startCaptions / setSpokenLanguage 中指定的语言。
spokenLanguage: string
属性值
string
spokenText
翻译为字幕语言之前的原始语音字幕文本
spokenText?: string
属性值
string
timestamp
最初说出带字幕的单词的时间戳。
timestamp: Date
属性值
Date