Share via


AndroidAppConfigurator.GetConfiguration(StartAction, AppDataMode) Method

Definition

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.

Applies to