Package com.zebra.rfid.api3
Class UserApp
- java.lang.Object
-
- com.zebra.rfid.api3.UserApp
-
public class UserApp extends java.lang.ObjectThis class contains methods for user application deployment in the reader
-
-
Constructor Summary
Constructors Constructor Description UserApp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidautoStart(java.lang.String appName, boolean enable)Enables Auto Start mode of a specified user applicationbooleangetRunStatus(java.lang.String appName)Gets the current run status of user applicationvoidinstall(java.lang.String localPath)Installs the user application in the readerUserAppInfo[]list()Gets a list of all installed user applicationvoidstart(java.lang.String appName)Starts a specified User Applicationvoidstop(java.lang.String appName)Stops the desired applicationvoiduninstall(java.lang.String appName)Uninstalls a specified User application from the reader
-
-
-
Method Detail
-
install
public void install(java.lang.String localPath) throws InvalidUsageException, OperationFailureExceptionInstalls the user application in the reader- Parameters:
appName- Name of the Application to be installedlocalPath- Path where the application package (.deb) is locatedautoStart- Whether to enable autostart of the application- Throws:
InvalidUsageExceptionOperationFailureException
-
uninstall
public void uninstall(java.lang.String appName) throws InvalidUsageException, OperationFailureExceptionUninstalls a specified User application from the reader- Parameters:
appName- Name of the application to be uninstalled- Throws:
InvalidUsageExceptionOperationFailureException
-
start
public void start(java.lang.String appName) throws InvalidUsageException, OperationFailureExceptionStarts a specified User Application- Parameters:
appName- Name of the Application to be started- Throws:
InvalidUsageExceptionOperationFailureException
-
stop
public void stop(java.lang.String appName) throws InvalidUsageException, OperationFailureExceptionStops the desired application- Parameters:
appName- Name of the application to be stopped- Throws:
InvalidUsageExceptionOperationFailureException
-
getRunStatus
public boolean getRunStatus(java.lang.String appName) throws InvalidUsageException, OperationFailureExceptionGets the current run status of user application- Parameters:
appName- Name of the Application- Returns:
- true - Application is Running, false - Application is not Running
- Throws:
InvalidUsageExceptionOperationFailureException
-
autoStart
public void autoStart(java.lang.String appName, boolean enable) throws InvalidUsageException, OperationFailureExceptionEnables Auto Start mode of a specified user application- Parameters:
appName- Application Nameenable- A boolean specifying whether to enable/disable auto start mode- Throws:
InvalidUsageExceptionOperationFailureException
-
list
public UserAppInfo[] list() throws InvalidUsageException, OperationFailureException
Gets a list of all installed user application- Parameters:
list- An array of installed applications along with status- Throws:
InvalidUsageExceptionOperationFailureException
-
-