Trait appium_client::commands::apps::InteractsWithApps
source · pub trait InteractsWithApps: AppiumClientTrait {
// Provided methods
fn install_app<'life0, 'life1, 'async_trait>(
&'life0 self,
path: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn is_app_installed<'life0, 'life1, 'async_trait>(
&'life0 self,
bundle_id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<bool, CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn run_app_in_background<'life0, 'async_trait>(
&'life0 self,
duration: Duration
) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn remove_app<'life0, 'life1, 'async_trait>(
&'life0 self,
bundle_id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn activate_app<'life0, 'life1, 'async_trait>(
&'life0 self,
bundle_id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn app_state<'life0, 'life1, 'async_trait>(
&'life0 self,
bundle_id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<AppState, CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn terminate_app<'life0, 'life1, 'async_trait>(
&'life0 self,
bundle_id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<(), CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
}
Expand description
Inspect or install other apps