Trait appium_client::commands::authentication::PerformsTouchID
source · pub trait PerformsTouchID: AppiumClientTrait {
// Provided methods
fn perform_touch_id<'life0, 'async_trait>(
&'life0 self,
successful_scan: bool
) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn toggle_touch_id_enrollment<'life0, 'async_trait>(
&'life0 self,
enabled: bool
) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
TouchID (iPhone authentication)
Provided Methods§
sourcefn perform_touch_id<'life0, 'async_trait>(
&'life0 self,
successful_scan: bool
) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn perform_touch_id<'life0, 'async_trait>( &'life0 self, successful_scan: bool ) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,
Simulate touchId event.
sourcefn toggle_touch_id_enrollment<'life0, 'async_trait>(
&'life0 self,
enabled: bool
) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn toggle_touch_id_enrollment<'life0, 'async_trait>( &'life0 self, enabled: bool ) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,
Enrolls touchId in iOS Simulators. This call will only work if Appium process or its parent application (e.g. Terminal.app or Appium.app) has access to Mac OS accessibility in System Preferences > Security & Privacy > Privacy > Accessibility list.