Skip to main content

host_command

Function host_command 

Source
pub async fn host_command(server: SocketAddr, cmd: &str) -> Result<String>
Expand description

Send a host command to an ADB server and read the length-prefixed response.

These commands don’t target a specific device. Examples: "host:version", "host:devices", "host:track-devices".