pub trait LocksDevice: AppiumClientTrait {
    // Provided method
    fn lock_device<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Lock device

Provided Methods§

source

fn lock_device<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,

Locks the device. Note: iOS can only be unlocked manually.

Implementors§