共用方式為


StartCaptionsAdapterOptions interface

傳遞給 adapter.startCaptions 的選項

Extends

屬性

startInBackground

在後台啟動字幕,而不向複合用戶顯示字幕 UI。

繼承的屬性

spokenLanguage

為語音添加字幕的語言。 必須是 BCP 47 格式(例如“en-us”)

屬性詳細資料

startInBackground

在後台啟動字幕,而不向複合用戶顯示字幕 UI。

startInBackground?: boolean

屬性值

boolean

繼承的屬性詳細資料

spokenLanguage

為語音添加字幕的語言。 必須是 BCP 47 格式(例如“en-us”)

spokenLanguage: string

屬性值

string

繼承自 StartCaptionsOptions.spokenLanguage