Méthode | Description | |
---|---|---|
GetVersionInfo ( string packageName ) : SharpAdbClient.DeviceCommands.VersionInfo |
Requests the version information from the device.
|
|
InstallPackage ( string packageFilePath, bool reinstall ) : void |
Installs an Android application on device.
|
|
InstallRemotePackage ( string remoteFilePath, bool reinstall ) : void |
Installs the application package that was pushed to a temporary location on the device.
|
|
PackageManager ( DeviceData device, bool thirdPartyOnly = false ) : Exceptions |
Initializes a new instance of the PackageManager class.
|
|
RefreshPackages ( ) : void |
Refreshes the packages.
|
|
UninstallPackage ( string packageName ) : void |
Uninstalls a package from the device.
|
Méthode | Description | |
---|---|---|
RemoveRemotePackage ( string remoteFilePath ) : void |
Remove a file from device
|
|
SyncPackageToDevice ( string localFilePath ) : string |
Pushes a file to device
|
|
ValidateDevice ( ) : void |
public GetVersionInfo ( string packageName ) : SharpAdbClient.DeviceCommands.VersionInfo | ||
packageName | string | /// The name of the package from which to get the application version. /// |
Résultat | SharpAdbClient.DeviceCommands.VersionInfo |
public InstallPackage ( string packageFilePath, bool reinstall ) : void | ||
packageFilePath | string | /// The absolute file system path to file on local host to install. /// |
reinstall | bool |
/// |
Résultat | void |
public InstallRemotePackage ( string remoteFilePath, bool reinstall ) : void | ||
remoteFilePath | string | absolute file path to package file on device |
reinstall | bool | set to |
Résultat | void |
public PackageManager ( DeviceData device, bool thirdPartyOnly = false ) : Exceptions | ||
device | DeviceData | /// The device on which to look for packages. /// |
thirdPartyOnly | bool |
/// |
Résultat | Exceptions |
public UninstallPackage ( string packageName ) : void | ||
packageName | string | /// The name of the package to uninstall. /// |
Résultat | void |