SDK של מנהל התקן למשימות מתוזמנות – Android
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
זה המדריך למשימות מתוזמנות. שמרתי אותם בנפרד משתי סיבות:
למשתמש קל יותר "לבחור את המודל" ולדבוק בו.
משימות מתוזמנות תומכות בתרחיש 'לקוח מהימן' גם ב-iOS וגם ב-Android, למרות שהוא מתועד רק ב-Android.
זה נראה כמו סדרה אחרת של נושאים, מעבר להגדרה
בהמשך נוכל להוסיף דף מבוא נחמד לערכות ה-SDK לנהגים לכל דגם, מותאם לכל תרחיש שימוש.
לפעמים צוותי מהנדסי התוכנה מפרסמים כאן רק לאחד מהם, כך שלאנשים עם LMFS-ey לעומת ODRD יהיה קל יותר לעדכן רק את הצד שלהם במשוואה.
אם כן, נמקם את ספריית ה-include עבור התוכן הזה תחת ios (קרוב יותר לדף המארח) ולא בספריית ההכללה הגלובלית.
אפשרות אחרת היא לחלק כאן שני מדריכים, אחד מהם, אחד להגדרה ואחד לשימוש להתחיל, כאשר ההגדרה כוללת את שלושת הנושאים הראשונים לכל מודל.
הנושאים העיקריים במודל הזה:
- דרישות מערכת
- הגדרת הפרויקט
- אימות
- יצירה של מכונת Deliverydriverapi
- אירועים של דיווחים על כלי רכב
- להפעיל מעקב אחר מיקום ועדכונים
- עדכון שגיאות מסכה
- תרחישים מהימנים (עיינו במסמך של Android ונבדוק עם דייוויד
אם אנחנו צריכים לתעד עבור iOS או לא)
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-31 (שעון UTC).
[null,null,["עדכון אחרון: 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)"]]