C# Класс RIM.VSNDK_Package.UpdateManager.Model.UpdateManagerData

Data Model for the Update Manager Dialog
Наследование: INotifyPropertyChanged
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
bbndkPathConst string
installProcessID List
installed bool
isConfiguring bool

Открытые методы

Метод Описание
FilterSubList ( string apiLevel ) : void

Function to filter the sublist of simulators

GetAPILevel ( string version ) : string

Given a runtime version get the associated API Level version.

GetDefaultLevel ( ) : string

Given a runtime version get the associated API Level version.

InstallAPI ( string version, bool isRuntime, bool isSimulator ) : bool

Install Specified API

IsRuntimeInstalled ( string version ) : bool

Check to see if Runtime is installed

RefreshScreen ( ) : void

Refresh all the lists

RefreshSimulatorScreen ( ) : void

Refresh all the lists

SetRuntime ( string version ) : void

Given the version set the selected API version

SetSelectedAPI ( string version ) : void

Given the version set the selected API version

UninstallAPI ( string version, bool isSimulator ) : bool

Uninstall Specified API

UpdateAPI ( string oldversion, string newversion ) : bool

Update API Level from Server

UpdateManagerData ( ) : System

Constructor

UpdateManagerData ( string outputPath ) : System

Constructor

cancelInstallation ( ) : void

Cancel the API installation.

getCurrentAPIVersion ( ) : string

Return the Current API Version from the registry

getDeviceInfo ( ) : bool

Get the device Info of the connected device

getDeviceSimInfo ( bool isSim ) : void

Function to retrieve device info from the registry

validateDeviceVersion ( bool isSim ) : bool

Validate to make sure device matches the API Level chosen.

waitTerminateInstallation ( ) : void

Wait till the API installation ends. This method is called only when the installation process has finished downloading all the needed files and it is just finishing the configuration. This process is supposed to take less than one minute.

Защищенные методы

Метод Описание
OnPropertyChanged ( string propName ) : void

Fire the PropertyChnaged event handler on change of property

Приватные методы

Метод Описание
DeviceInfoDataReceived ( object sender, System e ) : void

On Data Received event handler

InstallDataReceived ( object sender, System e ) : void

On Data Received event handler

IsAPIInstalled ( string version, string name ) : int

Check to see if API is installed

IsAPIInstalled ( string version, string name, bool allowSubstringVersion ) : int

Check to see if API is installed

compareVersions ( string str1, string str2 ) : int
getBuildVersion ( ) : string
getInstalledRuntimeTargetList ( ) : bool

Retrieve a list of the installed runtimes on the PC.

p_ErrorDataReceived ( object sender, System e ) : void

On Error received event handler

p_Exited ( object sender, System e ) : void

Event that handles the return of a process.

p_OutputDataReceived ( object sender, System e ) : void

Описание методов

FilterSubList() публичный Метод

Function to filter the sublist of simulators
public FilterSubList ( string apiLevel ) : void
apiLevel string
Результат void

GetAPILevel() публичный Метод

Given a runtime version get the associated API Level version.
public GetAPILevel ( string version ) : string
version string
Результат string

GetDefaultLevel() публичный Метод

Given a runtime version get the associated API Level version.
public GetDefaultLevel ( ) : string
Результат string

InstallAPI() публичный Метод

Install Specified API
public InstallAPI ( string version, bool isRuntime, bool isSimulator ) : bool
version string version of API to install
isRuntime bool
isSimulator bool
Результат bool

IsRuntimeInstalled() публичный Метод

Check to see if Runtime is installed
public IsRuntimeInstalled ( string version ) : bool
version string Check version number
Результат bool

OnPropertyChanged() защищенный Метод

Fire the PropertyChnaged event handler on change of property
protected OnPropertyChanged ( string propName ) : void
propName string
Результат void

RefreshScreen() публичный Метод

Refresh all the lists
public RefreshScreen ( ) : void
Результат void

RefreshSimulatorScreen() публичный Метод

Refresh all the lists
public RefreshSimulatorScreen ( ) : void
Результат void

SetRuntime() публичный Метод

Given the version set the selected API version
public SetRuntime ( string version ) : void
version string
Результат void

SetSelectedAPI() публичный Метод

Given the version set the selected API version
public SetSelectedAPI ( string version ) : void
version string
Результат void

UninstallAPI() публичный Метод

Uninstall Specified API
public UninstallAPI ( string version, bool isSimulator ) : bool
version string version of API to uninstall
isSimulator bool
Результат bool

UpdateAPI() публичный Метод

Update API Level from Server
public UpdateAPI ( string oldversion, string newversion ) : bool
oldversion string
newversion string
Результат bool

UpdateManagerData() публичный Метод

Constructor
public UpdateManagerData ( ) : System
Результат System

UpdateManagerData() публичный Метод

Constructor
public UpdateManagerData ( string outputPath ) : System
outputPath string
Результат System

cancelInstallation() публичный Метод

Cancel the API installation.
public cancelInstallation ( ) : void
Результат void

getCurrentAPIVersion() публичный Метод

Return the Current API Version from the registry
public getCurrentAPIVersion ( ) : string
Результат string

getDeviceInfo() публичный Метод

Get the device Info of the connected device
public getDeviceInfo ( ) : bool
Результат bool

getDeviceSimInfo() публичный Метод

Function to retrieve device info from the registry
public getDeviceSimInfo ( bool isSim ) : void
isSim bool
Результат void

validateDeviceVersion() публичный Метод

Validate to make sure device matches the API Level chosen.
public validateDeviceVersion ( bool isSim ) : bool
isSim bool
Результат bool

waitTerminateInstallation() публичный Метод

Wait till the API installation ends. This method is called only when the installation process has finished downloading all the needed files and it is just finishing the configuration. This process is supposed to take less than one minute.
public waitTerminateInstallation ( ) : void
Результат void

Описание свойств

bbndkPathConst публичное свойство

public string bbndkPathConst
Результат string

installProcessID публичное свойство

public List installProcessID
Результат List

installed публичное свойство

public bool installed
Результат bool

isConfiguring публичное свойство

public bool isConfiguring
Результат bool