Show / Hide Table of Contents

Interface ILaunchManager

The interface for a launch manager.

Namespace: Phoenix.Applications.Launch
Assembly: Phoenix.Abstractions.Applications.dll
Syntax
public interface ILaunchManager

Properties

View Source

LaunchParameterFactories

Gets the parameter factories registered for use when launching.

Declaration
IList<LaunchParameterFactoryBase> LaunchParameterFactories { get; }
Property Value
Type Description
System.Collections.Generic.IList<LaunchParameterFactoryBase>
View Source

SavedConfigurationPaths

Gets the saved configuration path history.

Declaration
IReadOnlyCollection<string> SavedConfigurationPaths { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyCollection<System.String>

Methods

View Source

LaunchApplicationAsync(IDevice, IApplication, LaunchConfiguration)

Launches the application on the specified device asynchronously.

Declaration
Task LaunchApplicationAsync(IDevice device, IApplication application, LaunchConfiguration config)
Parameters
Type Name Description
IDevice device

The target device.

IApplication application

The application

LaunchConfiguration config

The configuration.

Returns
Type Description
System.Threading.Tasks.Task

A task for the asynchronous operation.

View Source

LaunchApplicationAsync(IDevice, String, LaunchConfiguration)

Launches the application on the specified device asynchronously.

Declaration
Task LaunchApplicationAsync(IDevice device, string aumid, LaunchConfiguration config)
Parameters
Type Name Description
IDevice device

The target device.

System.String aumid

The application user model id (aumid).

LaunchConfiguration config

The configuration.

Returns
Type Description
System.Threading.Tasks.Task

Whether or not the launch was successful.

View Source

LoadConfigurationFromFile(String)

Loads a configuration from a file.

Declaration
LaunchConfiguration LoadConfigurationFromFile(string filePath)
Parameters
Type Name Description
System.String filePath

The path to the configuration file.

Returns
Type Description
LaunchConfiguration

The loaded configuration.

View Source

RegisterLaunchParameterFactory(LaunchParameterFactoryBase)

Registers a launch parameter factory.

Declaration
void RegisterLaunchParameterFactory(LaunchParameterFactoryBase parameterFactory)
Parameters
Type Name Description
LaunchParameterFactoryBase parameterFactory

The factory to register.

View Source

SaveConfiguration(LaunchConfiguration, String)

Saves a configuration to file.

Declaration
void SaveConfiguration(LaunchConfiguration config, string filePath)
Parameters
Type Name Description
LaunchConfiguration config

The configuration to save.

System.String filePath

The path to the file.

View Source

SaveExistingConfigurationPath(String)

Saves an existing configuration path to the path history.

Declaration
void SaveExistingConfigurationPath(string configPath)
Parameters
Type Name Description
System.String configPath

The path to save.

View Source

UnregisterLaunchParameterFactory(LaunchParameterFactoryBase)

Unregisters a launch parameter factory.

Declaration
void UnregisterLaunchParameterFactory(LaunchParameterFactoryBase parameterFactory)
Parameters
Type Name Description
LaunchParameterFactoryBase parameterFactory

The factory to unregister.

  • View Source
In This Article
Back to top Generated by DocFX