TeamsCaptionsInfo interface
針對每個 CaptionsReceivedEventType 事件接收的數據結構
屬性
caption |
標題所呈現的語言。 對應至 setCaptionLanguage 中指定的 captionLanguage |
caption |
標題文字 |
result |
此標題數據可分類的狀態 |
speaker | 交談標題文字之通話參與者的資訊 |
spoken |
口語語言被解譯為 。 對應至 startCaptions / setSpokenLanguage 中指定的語言 |
spoken |
翻譯為輔助字幕語言之前的原始口語輔助字幕文字 |
timestamp | 最初說出標題單字的時間戳 |
屬性詳細資料
captionLanguage
標題所呈現的語言。 對應至 setCaptionLanguage 中指定的 captionLanguage
captionLanguage: string
屬性值
string
captionText
標題文字
captionText: string
屬性值
string
resultType
speaker
spokenLanguage
口語語言被解譯為 。 對應至 startCaptions / setSpokenLanguage 中指定的語言
spokenLanguage: string
屬性值
string
spokenText
翻譯為輔助字幕語言之前的原始口語輔助字幕文字
spokenText: string
屬性值
string
timestamp
最初說出標題單字的時間戳
timestamp: Date
屬性值
Date