ภาพรวมงานที่กำหนดเวลาไว้ของ Driver SDK
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ

Driver SDK เป็นชุดเครื่องมือสำหรับแอปบนอุปกรณ์เคลื่อนที่และเป็นคอมโพเนนต์พื้นฐานของ Fleet
Engine SDK นี้ช่วยให้แอปคนขับสามารถจัดการงานที่มอบหมายและ
เปิดใช้ความสามารถในการนำทางและการกำหนดเส้นทางสำหรับคนขับได้
ก่อนเริ่มต้น
คู่มือนี้จะถือว่าคุณได้อ่านข้อมูลต่อไปนี้แล้ว
Driver SDK สำหรับงานที่กำหนดเวลาไว้คืออะไร
Driver SDK จะสื่อสารตำแหน่งของยานพาหนะและการอัปเดตงานกับ Fleet Engine เพื่อให้ Fleet Engine จัดการยานพาหนะนำส่ง จุดแวะพักนำส่ง และงานที่กำหนดได้
โดยหลักๆ แล้ว SDK จะใช้เครื่องมือฟังเหตุการณ์เพื่อส่งการอัปเดตตำแหน่ง
และพิกัดละติจูด/ลองจิจูด พร้อมกับส่วนเส้นทางปัจจุบัน
และปลายทางจาก Navigation SDK ไปยัง Fleet Engine เมื่อคนขับเริ่ม
ขับรถ
เหตุผลที่ควรใช้ Driver SDK สำหรับงานที่กำหนดเวลาไว้
Driver SDK ช่วยให้ผสานรวมกับ Fleet Engine ได้ง่ายขึ้นเพื่ออัปเดตเส้นทางของคนขับ
SDK นี้ช่วยให้คนขับใช้แอปเดียวเพื่อจัดการงานและนำทางได้เหมือนกับการใช้ Google Maps เวอร์ชันสำหรับผู้บริโภค แต่ไม่ต้องสลับไปใช้แอปอื่น
สิ่งที่คุณทำได้ด้วย Driver SDK สำหรับงานที่กำหนดเวลาไว้
ใช้ Driver SDK สำหรับงานที่กำหนดเวลาไว้เพื่อสื่อสารข้อมูลต่อไปนี้กับ Fleet Engine
- ตำแหน่งแบบเรียลไทม์ของยานพาหนะนำส่งบนแผนที่
- พิกัดละติจูด/ลองจิจูดของป้ายจอดรถ
- ระยะทางที่เหลือจนถึงป้ายจอดรถ
- เวลาถึงโดยประมาณที่ป้าย
- เส้นทางที่ยานพาหนะต้องใช้ตามที่ระบุโดย Navigation SDK
วิธีการทำงานของ Driver SDK สำหรับงานที่กำหนดเวลาไว้
Driver SDK ใช้ Navigation SDK สำหรับข้อมูลการกำหนดเส้นทางและ
จุดหมาย Driver SDK จะผสานรวมกับแอปคนขับและให้สตรีมการอัปเดตตำแหน่ง พิกัดละติจูด/ลองจิจูด ระยะทางที่เหลือ และเวลาถึงโดยประมาณแก่ Fleet Engine พร้อมกับข้อมูลจาก Navigation SDK
การอัปเดตข้อมูลยานพาหนะอื่นๆ ทั้งหมดต้องส่งไปยังแบ็กเอนด์ของลูกค้า ซึ่งจะส่งต่อข้อมูลไปยัง Fleet Engine

วิธีใช้ Driver SDK สำหรับงานที่กำหนดเวลาไว้
เลือกแพลตฟอร์มเพื่อดูวิธีเริ่มต้นใช้งาน Driver SDK
ขั้นตอนถัดไป
ดูเอกสารประกอบสำหรับแพลตฟอร์มที่คุณต้องการตั้งค่า Driver
SDK
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 2025-08-31 UTC"],[[["\u003cp\u003eThe Driver SDK is a toolkit that enables driver apps to manage work assignments and navigation within Fleet Engine.\u003c/p\u003e\n"],["\u003cp\u003eIt facilitates communication between the driver app and Fleet Engine, sharing location and task updates for efficient delivery management.\u003c/p\u003e\n"],["\u003cp\u003eKey features include real-time location tracking, route optimization using the Navigation SDK, and seamless integration with driver workflows.\u003c/p\u003e\n"],["\u003cp\u003eTo get started, developers need to integrate the Driver SDK (Android or iOS) and configure their Google Cloud project.\u003c/p\u003e\n"],["\u003cp\u003eFor platform-specific setup instructions and further details, refer to the Android and iOS documentation provided.\u003c/p\u003e\n"]]],[],null,["The Driver SDK is a mobile app toolkit and a fundamental component of Fleet\nEngine. With this SDK, your driver app can both manage work assignments and\nenable driver navigation and routing capabilities.\n\nBefore you begin\n\nThis guide assumes you have read the following:\n\n- [Fleet Engine essentials](/maps/documentation/mobility/fleet-engine/essentials).\n- [The data model for vehicles](/maps/documentation/mobility/fleet-engine/essentials/vehicles-intro#scheduled-tasks).\n- [The data model for scheduled tasks](/maps/documentation/mobility/fleet-engine/essentials/tasks-intro#data-model).\n- [How to set up Fleet Engine](/maps/documentation/mobility/fleet-engine/essentials/set-up-fleet).\n- [How to create and use vehicles in Fleet Engine](/maps/documentation/mobility/fleet-engine/essentials/vehicles).\n\nWhat is the Driver SDK for scheduled tasks?\n\nThe Driver SDK communicates vehicle location and task updates to Fleet Engine so\nthat Fleet Engine can manage the delivery vehicles and their assigned delivery\nstops and tasks. At its core, the SDK uses an event listener to send location\nupdates and latitude/longitude coordinates, along with the current route segment\nand destination from the Navigation SDK to Fleet Engine when your driver begins\ndriving.\n\nWhy use the Driver SDK for scheduled tasks?\n\nThe Driver SDK enables easier integration with Fleet Engine for updates to the\ndriver's routes. With this SDK, your driver can use a single app to manage\nassignments and navigate as they would using their consumer version of Google\nMaps but without having to switch to another app.\n\nWhat you can do with the Driver SDK for scheduled tasks\n\nUse the Driver SDK for scheduled tasks to communicate the following with Fleet\nEngine:\n\n- Delivery vehicle's real-time position on a map.\n- Latitude/longitude coordinates for the stop.\n- Remaining distance to the stop.\n- Estimated time of arrival to the stop.\n- Route the vehicle needs to take as provided by the Navigation SDK.\n\nHow the Driver SDK for scheduled tasks works\n\nThe Driver SDK depends on the Navigation SDK for the routing information and\ndestination. Together with the information from the Navigation SDK, the Driver\nSDK integrates with your driver app and provides Fleet Engine with a stream of\nlocation updates, latitude/longitude coordinates, remaining distance, and ETAs.\nAll other vehicle data updates must be sent to the customer backend, which\nrelays the data to Fleet Engine.\n\nHow to use the Driver SDK for scheduled tasks\n\nSelect your platform to see how to start using the Driver SDK. \n\nAndroid\n\n|---|----------------------------------------------|----------------------------------------------------------------------------------------------------|\n| 1 | **Get the Driver SDK for Android** | For more information, see [Get the Driver SDK](./android/minimum-requirements). |\n| 2 | **Configure a Google Cloud console project** | For more information, see [Configure a Google Cloud console project](./android/configure-project). |\n| 3 | **Declare dependencies** | For more information, see [Declare dependencies](./android/dependencies). |\n| 4 | **Create authentication tokens** | For more information, see [Create authentication tokens](./android/authenticate). |\n| 5 | **Initialize the Driver SDK** | For more information, see [Initialize the Driver SDK](./android/initialize-sdk). |\n| 6 | **Get the vehicle ready** | For more information, see [Get the vehicle ready](./android/vehicle-ready). |\n\niOS\n\n|---|----------------------------------------------|------------------------------------------------------------------------------------------------|\n| 1 | **Get the Driver SDK for iOS** | For more information, see [Get the Driver SDK](./ios/minimum-requirements). |\n| 2 | **Configure a Google Cloud console project** | For more information, see [Configure a Google Cloud console project](./ios/configure-project). |\n| 3 | **Create authentication tokens** | For more information, see [Create authentication tokens](./ios/authenticate). |\n| 4 | **Initialize the Driver SDK** | For more information, see [Initialize the Driver SDK](./ios/initialize-sdk). |\n| 5 | **Get the vehicle ready** | For more information, see [Get the vehicle ready](./ios/vehicle-ready). |\n\nWhat's next\n\nSee the documentation for the platform on which you want to set up the Driver\nSDK:\n\n- [Android](./android/)\n- [iOS](./ios/)"]]