共用方式為


CaptionsCallFeatureState interface

屬性

captions

接收的字幕陣列

captionsKind

當前字幕類型:Teams 或 ACS 字幕

currentCaptionLanguage

當前字幕語言

currentSpokenLanguage

當前口語

isCaptionsFeatureActive

字幕是否打開/關閉

startCaptionsInProgress

是單擊「開始字幕」按鈕還是立即按兩下

supportedCaptionLanguages

支援的字幕語言

supportedSpokenLanguages

支援的口語

屬性詳細資料

captions

接收的字幕陣列

captions: CaptionsInfo[]

屬性值

captionsKind

當前字幕類型:Teams 或 ACS 字幕

captionsKind: CaptionsKind

屬性值

currentCaptionLanguage

當前字幕語言

currentCaptionLanguage: string

屬性值

string

currentSpokenLanguage

當前口語

currentSpokenLanguage: string

屬性值

string

isCaptionsFeatureActive

字幕是否打開/關閉

isCaptionsFeatureActive: boolean

屬性值

boolean

startCaptionsInProgress

是單擊「開始字幕」按鈕還是立即按兩下

startCaptionsInProgress: boolean

屬性值

boolean

supportedCaptionLanguages

支援的字幕語言

supportedCaptionLanguages: string[]

屬性值

string[]

supportedSpokenLanguages

支援的口語

supportedSpokenLanguages: string[]

屬性值

string[]