スケジュールされたタスク用のドライバ SDK - android
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ここでは、スケジュールされたタスクについて説明します。今回は、次の 2 つの理由で別々にしました。
ユーザーが「自分のモデルを選択」して使い続ける方が簡単です。
スケジュールされたタスクは、iOS と Android の両方で「信頼できるクライアント」シナリオをサポートしますが、これについては Android にのみ記載されています。
設定を超えた、異なるトピックセットのようです
後で、ユースケースごとにカスタマイズした、各モデルの Driver SDK の適切な導入ページを追加できます。
エンジニアリング チームはどちらか一方にのみ公開する場合があるため、LMFS を使用する人と ODRD を使用する人でどちらか一方のみを更新することが簡単になります。
含める場合、このコンテンツのインクルード ディレクトリはグローバル インクルード ディレクトリではなく ios の下(ホストページに近い方)にしましょう。
もう一つのアイデアは、セットアップに関する 2 つのガイドと、スタートガイドに関する 2 つのガイドを分けることです。セットアップには各モデルの最初の 3 つのトピックが含まれます。
このモデルの主なトピック:
- システム要件
- プロジェクトを構成する
- auth
- Deliverydriverapi インスタンスを作成する
- 車両レポーター イベント
- 位置情報の追跡と更新を有効にする
- マスク更新エラー
- 信頼できるシナリオ(Android のドキュメントを参照。iOS のドキュメント化が必要かどうかを David に確認しましょう)
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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)"]]