Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-06-25 (UTC)
[null,null,["Última actualización: 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"]]