การย้ายข้อมูลไปยังศูนย์นักพัฒนาแอป Google Home เสร็จสมบูรณ์แล้ว
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
ยกเลิกการเชื่อมต่อ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
หากผู้ใช้ยกเลิกการลิงก์ smart home Action จาก
Google Assistant การดำเนินการตามคำขอของคุณจะได้รับ
action.devices.DISCONNECT
Intent Intent นี้บ่งชี้ว่า Assistant จะไม่ส่ง
Intent ใดๆ ให้ผู้ใช้รายนี้อีกต่อไป และบริการระบบคลาวด์ของคุณควรหยุดเรียกใช้
Google Home Graph API (Request Sync และ
Report State) สำหรับอุปกรณ์ของผู้ใช้
{
"requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf",
"inputs": [{
"intent": "action.devices.DISCONNECT",
}]
}
{}
const {smarthome} = require('actions-on-google');
const app = smarthome();
// ...
app.onDisconnect((body, headers) => {
// TODO Disconnect user account from Google Assistant
// You can return an empty body
return {};
});
@Override
public void onDisconnect(
@NotNull DisconnectRequest disconnectRequest, @Nullable Map<?, ?> map) {
// TODO Disconnect user account from Google Assistant
// This function does not return anything
}
ดูข้อมูลเพิ่มเติมได้ที่เอกสารอ้างอิง DISCONNECT
Intent
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-10-31 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ข้อมูลไม่ถูกต้อง","incorrectInformation","thumb-down"],["ข้อมูล/ตัวอย่างไม่เพียงพอ","notEnoughInformationSamples","thumb-down"],["ซับซ้อนเกินไป","tooComplicated","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2022-10-31 UTC"],[],[]]