Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[null,null,["Last updated 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,[]]