pub trait UnlocksDevice: AppiumClientTrait {
    // Provided method
    fn unlock_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

Unlock device

Provided Methods§

source

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

Unlocks the device.

To unlock a screen with code or pattern, use “unlockType” and “unlockKey” capabilities. See https://github.com/appium/appium-android-driver/blob/master/docs/UNLOCK.md.

Implementors§