Driver SDK для запланированных задач - Android
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Это руководство для запланированных задач. Я сохранил их отдельно по двум причинам:
Пользователю проще «выбрать свою модель» и придерживаться ее.
Запланированные задачи поддерживают сценарий «доверенного клиента» как для iOS, так и для Android, хотя он документирован только для Android.
Кажется, это другой набор тем, помимо настройки
Позже мы можем добавить красивую вводную страницу для SDK драйверов для каждой модели, адаптированную для каждого варианта использования.
Команды инженеров здесь иногда публикуют только одну или другую информацию, так что людям, разбирающимся в LMFS или ODRD, будет проще обновить только свою часть уравнения.
Если мы включаем, давайте поместим каталог include для этого контента в ios (ближе к главной странице), а не в глобальный каталог include.
Другая идея — разделить здесь два руководства: одно по настройке, а другое по началу работы, где настройка включает первые три темы для каждой модели.
Ключевые темы для этой модели:
- системные требования
- настроить проект
- авторизация
- создать экземпляр DeliveryDriverapi
- события автомобильного репортера
- включить отслеживание местоположения и обновления
- ошибки обновления маски
- доверенные сценарии (см. документацию по Android, и давайте вместе с Дэвидом узнаем, нужно ли нам документировать для iOS или нет)
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-08-29 UTC.
[null,null,["Последнее обновление: 2025-08-29 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)"]]