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
localPath - Path where the application package (.deb) is locatedInvalidUsageExceptionOperationFailureExceptionpublic void uninstall(java.lang.String appName)
throws InvalidUsageException,
OperationFailureException
appName - Name of the application to be uninstalledInvalidUsageExceptionOperationFailureExceptionpublic void start(java.lang.String appName)
throws InvalidUsageException,
OperationFailureException
appName - Name of the Application to be startedInvalidUsageExceptionOperationFailureExceptionpublic void stop(java.lang.String appName)
throws InvalidUsageException,
OperationFailureException
appName - Name of the application to be stoppedInvalidUsageExceptionOperationFailureExceptionpublic boolean getRunStatus(java.lang.String appName)
throws InvalidUsageException,
OperationFailureException
appName - Name of the ApplicationInvalidUsageExceptionOperationFailureExceptionpublic void autoStart(java.lang.String appName,
boolean enable)
throws InvalidUsageException,
OperationFailureException
appName - Application Nameenable - A boolean specifying whether to enable/disable auto start modeInvalidUsageExceptionOperationFailureExceptionpublic UserAppInfo[] list() throws InvalidUsageException, OperationFailureException