Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-06-25 UTC.
[null,null,["Ultimo aggiornamento 2024-06-25 UTC."],[[["`com.google.android.managementapi.commands.model` provides classes and enums for managing and executing commands within the Android Management API."],["Core components include `Command`, `GetCommandRequest`, and `IssueCommandRequest` for issuing, retrieving, and tracking commands."],["Functionality covers command execution status, including per-app status for actions like clearing app data, represented by dedicated enums."],["Classes like `Command.ClearAppsDataStatus` and its nested types offer detailed information about the outcome of data clearing operations."],["Developers can use the builder pattern to easily construct instances of these classes and interact with the Android Management API."]]],["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"]]