adb_client 3.1.0

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 SMS to this emulator with given content with given phone number
    pub fn rotate(&mut self) -> Result<()> {
        let _ = self.connect()?.send_command(&ADBEmulatorCommand::Rotate)?;
        Ok(())
    }
}