קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
שיעורים
טיפוסים בני מנייה (enum)
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-28 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-28 (שעון UTC)."],[[["\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,[]]