با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-28 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-28 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003ecom.google.android.managementapi.commands.model\u003c/code\u003e provides classes and enums for managing and executing commands within the Android Management API.\u003c/p\u003e\n"],["\u003cp\u003eCore components include \u003ccode\u003eCommand\u003c/code\u003e, \u003ccode\u003eGetCommandRequest\u003c/code\u003e, and \u003ccode\u003eIssueCommandRequest\u003c/code\u003e for issuing, retrieving, and tracking commands.\u003c/p\u003e\n"],["\u003cp\u003eFunctionality covers command execution status, including per-app status for actions like clearing app data, represented by dedicated enums.\u003c/p\u003e\n"],["\u003cp\u003eClasses like \u003ccode\u003eCommand.ClearAppsDataStatus\u003c/code\u003e and its nested types offer detailed information about the outcome of data clearing operations.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the builder pattern to easily construct instances of these classes and interact with the Android Management API.\u003c/p\u003e\n"]]],["This content defines classes and enums for managing commands within the Android Management API. Key actions involve building and executing commands, such as `Command` instances using `Command.Builder`. The `IssueCommandRequest` class facilitates issuing commands, specifically illustrated by clearing app data via `IssueCommandRequest.ClearAppsData`. `GetCommandRequest` allows for command retrieval. The status of commands, particularly for clearing app data, is tracked through `Command.ClearAppsDataStatus` and `Command.ClearAppsDataStatus.PerAppStatus`, indicating the success or failure per app. `Command.State` describe the state of the command.\n"],null,[]]