จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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,[]]