public class UserApp
extends java.lang.Object
Constructor and Description |
---|
UserApp() |
Modifier and Type | Method and Description |
---|---|
void |
autoStart(java.lang.String appName,
boolean enable)
Enables Auto Start mode of a specified user application
|
boolean |
getRunStatus(java.lang.String appName)
Gets the current run status of user application
|
void |
install(java.lang.String localPath)
Installs the user application in the reader
|
UserAppInfo[] |
list()
Gets a list of all installed user application
|
void |
start(java.lang.String appName)
Starts a specified User Application
|
void |
stop(java.lang.String appName)
Stops the desired application
|
void |
uninstall(java.lang.String appName)
Uninstalls a specified User application from the reader
|
public void install(java.lang.String localPath) throws InvalidUsageException, OperationFailureException
appName
- Name of the Application to be installedlocalPath
- Path where the application package (.deb) is locatedautoStart
- Whether to enable autostart of the applicationInvalidUsageException
OperationFailureException
public void uninstall(java.lang.String appName) throws InvalidUsageException, OperationFailureException
appName
- Name of the application to be uninstalledInvalidUsageException
OperationFailureException
public void start(java.lang.String appName) throws InvalidUsageException, OperationFailureException
appName
- Name of the Application to be startedInvalidUsageException
OperationFailureException
public void stop(java.lang.String appName) throws InvalidUsageException, OperationFailureException
appName
- Name of the application to be stoppedInvalidUsageException
OperationFailureException
public boolean getRunStatus(java.lang.String appName) throws InvalidUsageException, OperationFailureException
appName
- Name of the ApplicationInvalidUsageException
OperationFailureException
public void autoStart(java.lang.String appName, boolean enable) throws InvalidUsageException, OperationFailureException
appName
- Application Nameenable
- A boolean specifying whether to enable/disable auto start modeInvalidUsageException
OperationFailureException
public UserAppInfo[] list() throws InvalidUsageException, OperationFailureException
list
- An array of installed applications along with statusInvalidUsageException
OperationFailureException