Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-28 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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,[]]