Share via


iOSAppConfigurator.GetConfiguration(StartAction, AppDataMode) Method

Definition

Builds the iOS app configuration which can be used for input for iOSApp. The StartApp(AppDataMode) and ConnectToApp() methods should be used instead unless you have specific needs for the configuration.

public Xamarin.UITest.Configuration.IiOSAppConfiguration 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.IiOSAppConfiguration

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. Currently only supported in Xamarin Test Cloud.

Returns

An IiOSAppConfiguration which can used for input for iOSApp.

Applies to