共用方式為


TeamsCaptionsInfo interface

針對每個 CaptionsReceivedEventType 事件接收的數據結構

屬性

captionLanguage

標題所呈現的語言。 對應至 setCaptionLanguage 中指定的 captionLanguage

captionText

標題文字

resultType

此標題數據可分類的狀態

speaker

交談標題文字之通話參與者的資訊

spokenLanguage

口語語言被解譯為 。 對應至 startCaptions / setSpokenLanguage 中指定的語言

spokenText

翻譯為輔助字幕語言之前的原始口語輔助字幕文字

timestamp

最初說出標題單字的時間戳

屬性詳細資料

captionLanguage

標題所呈現的語言。 對應至 setCaptionLanguage 中指定的 captionLanguage

captionLanguage: string

屬性值

string

captionText

標題文字

captionText: string

屬性值

string

resultType

此標題數據可分類的狀態

resultType: CaptionsResultType

屬性值

speaker

交談標題文字之通話參與者的資訊

speaker: CallerInfo

屬性值

spokenLanguage

口語語言被解譯為 。 對應至 startCaptions / setSpokenLanguage 中指定的語言

spokenLanguage: string

屬性值

string

spokenText

翻譯為輔助字幕語言之前的原始口語輔助字幕文字

spokenText: string

屬性值

string

timestamp

最初說出標題單字的時間戳

timestamp: Date

屬性值

Date