เมื่อคนขับสิ้นสุดกะ คุณสามารถหยุดการอัปเดตตำแหน่งได้โดยโทรหา
DeliveryVehicleReporter.disableLocationTracking()
ปิดใช้การอัปเดตตําแหน่ง
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-09-05 UTC
[null,null,["อัปเดตล่าสุด 2025-09-05 UTC"],[[["\u003cp\u003e\u003ccode\u003eDeliveryVehicleReporter.disableLocationTracking()\u003c/code\u003e is used to stop sharing the driver's location.\u003c/p\u003e\n"],["\u003cp\u003eLocation updates are automatically stopped when a driver's shift ends.\u003c/p\u003e\n"]]],[],null,["# Disable location updates\n\nWhen the driver finishes their shift, you can stop location updates by calling\n`DeliveryVehicleReporter.disableLocationTracking()`."]]