C# 클래스 RIM.VSNDK_Package.UpdateManager.Model.UpdateManagerData

Data Model for the Update Manager Dialog
상속: INotifyPropertyChanged
파일 보기 프로젝트 열기: blackberry/VSPlugin 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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