Class UserApp
This class contains methods for user application deployment in the reader
Inheritance
Inherited Members
Namespace: rfid.api
Assembly: rfid.netcore.dll
Syntax
public class UserApp
Constructors
UserApp()
Constructor
Declaration
public UserApp()
Methods
AutoStart(String, Boolean)
This function enables autostart of a specified user application
Declaration
public void AutoStart(string appName, bool autoStart)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | appName | Name of the application |
| System.Boolean | autoStart | A Boolean specifying whether to enable/disable autostart |
GetRunStatus(String, ref Boolean)
This function gets the current run status of a user application
Declaration
public void GetRunStatus(string appName, ref bool runStatus)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | appName | Name of the application whose status is to be fetched. |
| System.Boolean | runStatus | run status of the application |
Install(String)
Installs User Application in the reader
Declaration
public void Install(string pathToPackage)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | pathToPackage | Path where the application package (.deb) is located |
List()
This function gets a list of all installed user applications
Declaration
public UserAppInfo[] List()
Returns
| Type | Description |
|---|---|
| UserAppInfo[] | An array of UserAppInfo objects. Returns null if no apps are installed. |
Start(String)
Starts a specified User Application
Declaration
public void Start(string appName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | appName | Name of the application to be started |
Stop(String)
Stops a specified User Application
Declaration
public void Stop(string appName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | appName | Name of the application to be stopped |
Uninstall(String)
Uninstalls a specified User Application from the reader
Declaration
public void Uninstall(string appName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | appName | Name of the application to be uninstalled |