SpeechSynthesisBookmarkEventArgs class

定義語音合成書簽事件的內容。

建構函式

SpeechSynthesisBookmarkEventArgs(number, string)

建立並初始化這個類別的實例。

屬性

audioOffset

指定音訊位移。

text

指定書簽。

建構函式詳細資料

SpeechSynthesisBookmarkEventArgs(number, string)

建立並初始化這個類別的實例。

new SpeechSynthesisBookmarkEventArgs(audioOffset: number, text: string)

參數

audioOffset

number

音訊位移。

text

string

書簽文字。

屬性詳細資料

audioOffset

指定音訊位移。

number audioOffset

屬性值

number

音訊位移。

text

指定書簽。

string text

屬性值

string

書簽文字。