SDK trình điều khiển cho các tác vụ đã lên lịch – Android
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.
Đây là hướng dẫn về các việc cần làm đã lên lịch. Tôi đã tách biệt các tài khoản này vì hai lý do:
Người dùng sẽ dễ dàng "chọn mô hình của họ" và gắn bó với mô hình đó.
Các tác vụ đã lên lịch hỗ trợ trường hợp "ứng dụng đáng tin cậy" cho cả iOS và Android, mặc dù tác vụ chỉ được ghi lại trên Android.
Có vẻ như không phải là một nhóm chủ đề khác ngoài phần thiết lập
Sau đó, chúng ta có thể thêm một trang giới thiệu thú vị về SDK trình điều khiển cho từng mô hình, tuỳ theo từng trường hợp sử dụng.
Các nhóm kỹ thuật ở đây đôi khi chỉ xuất bản cho một trong hai, vì vậy, việc đó sẽ giúp người dùng LMFS và ODRD-ey dễ dàng cập nhật phương trình của họ hơn.
Nếu đã bao gồm, vui lòng đặt thư mục bao gồm cho nội dung này trong ios (gần với trang lưu trữ hơn) chứ không phải trong thư mục bao gồm chung.
Một ý tưởng khác là chia thành 2 hướng dẫn ở đây, một hướng dẫn để thiết lập và hướng dẫn còn lại để bắt đầu, trong đó quá trình thiết lập bao gồm 3 chủ đề đầu tiên cho mỗi mô hình.
Các chủ đề chính cho mô hình này:
- yêu cầu hệ thống
- định cấu hình dự án
- xác thực
- tạo bản sao Deliverydriverapi
- sự kiện phóng viên xe
- bật tính năng theo dõi và cập nhật vị trí
- lỗi cập nhật mặt nạ
- tình huống đáng tin cậy (xem tài liệu Android và hãy cùng kiểm tra với David để xem
chúng tôi có cần ghi lại tài liệu cho iOS hay không)
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\u003eThis guide provides instructions for using scheduled tasks with the Driver SDKs, focusing on setup and ongoing operations.\u003c/p\u003e\n"],["\u003cp\u003eScheduled tasks allow for a "trusted client" setup on both iOS and Android, simplifying authentication in certain scenarios.\u003c/p\u003e\n"],["\u003cp\u003eKey topics covered include system requirements, project configuration, authentication, utilizing the Delivery Driver API, vehicle reporter events, enabling location tracking, handling update mask errors, and implementing trusted client scenarios.\u003c/p\u003e\n"],["\u003cp\u003eThe guide is structured to allow developers to easily choose and focus on the model relevant to their specific use case, with potential future expansion to include bespoke intro pages for each Driver SDK model.\u003c/p\u003e\n"],["\u003cp\u003eMaintaining separate guides for LMFS and ODRD teams simplifies content updates and aligns with their distinct workflows.\u003c/p\u003e\n"]]],[],null,["# Driver SDK for scheduled tasks - android\n\nThis is the guide for scheduled tasks. I kept these separate for two reasons:\n\n1. It's easier for a user to \"choose their model\" and stick with it.\n\n2. Scheduled tasks supports a \"trusted client\" scenario for both iOS and Android\n although it's only documented on Android.\n\n3. It seems like a different set of topics, beyond setup\n\n4. We can later on add a nice intro page for the Driver SDKs for each model,\n bespoke to each use case.\n\n5. The engineering teams here sometimes only publish to one or the other, so\n that'll make it easier for LMFS-ey vs ODRD-ey people to update just their side\n of the equation.\n\nIf we do includes, let's please put the includes directory for this content\n*under* ios (closer to the host page) and not in the global includes directory.\n\nAnother idea is to split out 2 guides here one for setup and the other for\ngetting started, where setup includes the first three topics for each model.\n\nKey topics for this model:\n\n- system reqs\n- configure project\n- auth\n- create deliverydriverapi instance\n- vehicle reporter events\n- enable location tracking and updates\n- update mask errors\n- trusted scenarios (see android doc and let's check with David to see if we need to document for iOS or not)"]]