public class PackageInstallerResult
extends java.lang.Object
PackageInstallerResult is the base element of the List passed by
PackageInstallerListener.onResult(java.util.List<com.datalogic.device.app.PackageInstallerResult>) to retrieve the result of
operations of install/uninstall/upgrade.| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
data
data application to be installed/upgraded/uninstalled. |
PackageInstallerEvent |
event
event type of the event, value from PackageInstallerEvent. |
int |
result
result result of the command, value matching one of the PackageInstallerException error constants. |
| Constructor and Description |
|---|
PackageInstallerResult() |
public PackageInstallerEvent event
event type of the event, value from PackageInstallerEvent.public java.lang.String data
data application to be installed/upgraded/uninstalled.
For install and upgrade is full path of the .apk.
For uninstall is the name of the component.public int result
result result of the command, value matching one of the PackageInstallerException error constants.