Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
轉錄稿
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本頁面包含 Transcript UI 模組的 API 說明文件。這個模組用於顯示語音對話的即時轉錄稿。
用量
使用下列程式碼,在 HTML 頁面中匯入模組:
<script src="https://www.gstatic.com/agent-assist-ui-modules/v1/transcript.js"></script>
使用下列標記嵌入模組:
<agent-assist-transcript>
屬性
用量
屬性是以字串為基礎的元件屬性,可透過下列方式設定:
直接從 HTML 範本:
<element-selector property-name="value">
從 JavaScript 程式碼中:
var el = document.querySelector('element-selector');
el.setAttribute('property-name', 'value');
沒有輸入內容。
類型
如要瞭解元件使用的自訂型別,請參閱下節。
BooleanString
"true" | "false"
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-06-04 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-06-04 (世界標準時間)。"],[],[]]