回應定時快訊
您可以使用定時快訊,讓使用者知道在選擇預設動作前,他們只能回應多少時間。
如要建立定時快訊訊息,請使用導覽範本中的窗格檢視畫面,並使用計時性按鈕做為預設動作。
流程範例
使用者動作 |
動作執行位置 |
動作完成後的步數 |
使用者正在開車。 |
導覽範本 ![使用者歷程中的導覽範本](https://developers.google.cn/static/cars/design/create-apps/sample-flows/images/respond_to_timed_alert_1.png?authuser=3&hl=zh-tw)
|
1 |
含有定時動作的快訊隨即開啟。使用者可以關閉快訊,或是開啟具有替代路線的地圖。 |
導覽範本 ![導覽範本含有繼續導覽的提示](https://developers.google.cn/static/cars/design/create-apps/sample-flows/images/respond_to_timed_alert_2.png?authuser=3&hl=zh-tw)
|
2 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-07-23 (世界標準時間)。
[null,null,["上次更新時間:2024-07-23 (世界標準時間)。"],[[["Timed alerts inform users of a pending default action if they don't respond within a given timeframe."],["These alerts are built using the Navigation template's Pane view and incorporate timed buttons for the default action."],["A typical scenario involves an alert interrupting navigation, offering options like dismissal or an alternate route on a map before a default action is taken."]]],[]]