Tổng quan về các tác vụ theo lịch biểu của SDK trình điều khiển
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.

Driver SDK là một bộ công cụ ứng dụng di động và là một thành phần cơ bản của Fleet Engine. Với SDK này, ứng dụng dành cho người lái xe có thể quản lý việc giao việc và cho phép các chức năng chỉ đường và định tuyến cho người lái xe.
Trước khi bắt đầu
Hướng dẫn này giả định rằng bạn đã đọc những nội dung sau:
Driver SDK dành cho các tác vụ theo lịch là gì?
Driver SDK truyền đạt thông tin cập nhật về vị trí và nhiệm vụ của xe cho Fleet Engine để Fleet Engine có thể quản lý các xe giao hàng, cũng như các điểm dừng và nhiệm vụ giao hàng được chỉ định. Về cơ bản, SDK này sử dụng một trình nghe sự kiện để gửi thông tin cập nhật về vị trí và toạ độ vĩ độ/kinh độ, cùng với đoạn đường hiện tại và đích đến từ Navigation SDK đến Fleet Engine khi tài xế bắt đầu lái xe.
Tại sao nên sử dụng Driver SDK cho các tác vụ theo lịch?
Driver SDK giúp bạn dễ dàng tích hợp với Fleet Engine để cập nhật tuyến đường của người lái xe. Với SDK này, người lái xe có thể dùng một ứng dụng duy nhất để quản lý việc giao việc và điều hướng như khi dùng phiên bản Google Maps dành cho người tiêu dùng mà không cần phải chuyển sang một ứng dụng khác.
Những việc bạn có thể làm với Driver SDK cho các tác vụ theo lịch
Sử dụng Driver SDK cho các tác vụ theo lịch để truyền đạt những thông tin sau cho Fleet Engine:
- Vị trí theo thời gian thực của xe giao hàng trên bản đồ.
- Toạ độ vĩ độ/kinh độ của trạm dừng.
- Khoảng cách còn lại đến điểm dừng.
- Thời gian đến dự kiến tại điểm dừng.
- Tuyến đường mà xe cần đi theo do Navigation SDK cung cấp.
Cách hoạt động của Driver SDK cho các tác vụ theo lịch
Driver SDK phụ thuộc vào Navigation SDK để biết thông tin định tuyến và đích đến. Cùng với thông tin từ Navigation SDK, Driver SDK tích hợp với ứng dụng dành cho người lái xe và cung cấp cho Fleet Engine một luồng thông tin cập nhật về vị trí, toạ độ vĩ độ/kinh độ, khoảng cách còn lại và thời gian dự kiến đến.
Tất cả các nội dung cập nhật dữ liệu khác về xe phải được gửi đến phần phụ trợ của khách hàng, nơi chuyển tiếp dữ liệu đến Fleet Engine.

Cách sử dụng Driver SDK cho các tác vụ theo lịch
Chọn nền tảng bạn sử dụng để xem cách bắt đầu sử dụng Driver SDK.
Bước tiếp theo
Hãy xem tài liệu về nền tảng mà bạn muốn thiết lập Driver SDK:
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-31 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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/)"]]