adb_client 3.1.2

Rust ADB (Android Debug Bridge) client library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::{
    Result,
    emulator::{ADBEmulatorCommand, ADBEmulatorDevice},
};

impl ADBEmulatorDevice {
    /// Send a raw console command to this emulator and return its response
    pub fn send_raw_command(&mut self, command: &str) -> Result<String> {
        self.connect()?
            .send_command(&ADBEmulatorCommand::Raw(command.to_string()))
    }
}