AndroidAppConfigurator.GetConfiguration(StartAction, AppDataMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Builds the Android app configuration which can be used for input for AndroidApp. The StartApp(AppDataMode) and ConnectToApp() methods should be used instead unless you have specific needs for the configuration.
public Xamarin.UITest.Configuration.IAndroidAppConfiguration GetConfiguration (Xamarin.UITest.Configuration.StartAction startAction, Xamarin.UITest.Configuration.AppDataMode appDataMode = Xamarin.UITest.Configuration.AppDataMode.Auto);
member this.GetConfiguration : Xamarin.UITest.Configuration.StartAction * Xamarin.UITest.Configuration.AppDataMode -> Xamarin.UITest.Configuration.IAndroidAppConfiguration
Parameters
- startAction
- StartAction
The start action for the configuration. See StartApp(AppDataMode) and ConnectToApp() methods.
- appDataMode
- AppDataMode
The app data mode. Whether to clear app data or not before app launch.
Returns
An IAndroidAppConfiguration which can used for input for AndroidApp.