AdbShellCommandEvent
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.
Một lệnh shell đã được ban hành qua ADB thông qua "lệnh adb shell".
Biểu diễn dưới dạng JSON |
{
"shellCmd": string
} |
Trường |
shellCmd |
string
Lệnh Shell được phát qua ADB thông qua "lệnh adb shell". Đã loại bỏ thành chuỗi trống trên các thiết bị có hồ sơ được quản lý do tổ chức sở hữu.
|
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-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eShell commands issued via ADB are represented in JSON format with the "shellCmd" field containing the command string.\u003c/p\u003e\n"],["\u003cp\u003eOn organization-owned managed profile devices, the "shellCmd" field will be redacted to an empty string for privacy.\u003c/p\u003e\n"]]],["A shell command, represented as a string, was executed using \"adb shell command.\" The command's details are captured in the `shellCmd` field within a JSON structure. In organization-owned managed profile devices, the content of `shellCmd` is redacted and replaced with an empty string. This data is conveyed through the JSON structure ` { \"shellCmd\": string } `.\n"],null,["# AdbShellCommandEvent\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA shell command was issued over ADB via \"adb shell command\".\n\n| JSON representation |\n|--------------------------------|\n| ``` { \"shellCmd\": string } ``` |\n\n| Fields ||\n|------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| `shellCmd` | `string` Shell command that was issued over ADB via \"adb shell command\". Redacted to empty string on organization-owned managed profile devices. |"]]