Package com.unitech.api.scanner
Class ScannerCtrl
- java.lang.Object
-
- com.unitech.api.scanner.ScannerCtrl
-
public class ScannerCtrl extends java.lang.ObjectThe type Scanner ctrl.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBUNDLE_ERROR_CODEstatic java.lang.StringBUNDLE_ERROR_MSGstatic intRESULT_CODE_ERRORstatic intRESULT_CODE_SUCCESS
-
Constructor Summary
Constructors Constructor Description ScannerCtrl(android.content.Context context)Instantiates a new Scanner ctrl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description android.os.BundleexportEaSeriesSettings(java.lang.String filePath)Export ea series settings.android.os.BundleexportSettings(java.lang.String folderPath)Export settings.android.os.BundleimportEaSeriesSettings(java.lang.String filePath)Import ea series settings.android.os.BundleimportSettings(java.lang.String folderPath)Import settings.
-
-
-
Field Detail
-
BUNDLE_ERROR_CODE
public static final java.lang.String BUNDLE_ERROR_CODE
- See Also:
- Constant Field Values
-
BUNDLE_ERROR_MSG
public static final java.lang.String BUNDLE_ERROR_MSG
- See Also:
- Constant Field Values
-
RESULT_CODE_ERROR
public static final int RESULT_CODE_ERROR
- See Also:
- Constant Field Values
-
RESULT_CODE_SUCCESS
public static final int RESULT_CODE_SUCCESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
importSettings
public android.os.Bundle importSettings(java.lang.String folderPath)
Import settings.- Parameters:
folderPath- the folder path (String)- Returns:
- A bundle contains the error code and message
int erroeCode = bundle.getInt("errorCode"), (error:1, success=0)
String errorMsg=bundle.getString("errorMsg");
-
exportSettings
public android.os.Bundle exportSettings(java.lang.String folderPath)
Export settings.- Parameters:
folderPath- the folder path (String)- Returns:
- A bundle contains the error code and message
int erroeCode = bundle.getInt("errorCode"), (error:1, success=0)
String errorMsg=bundle.getString("errorMsg");
-
importEaSeriesSettings
public android.os.Bundle importEaSeriesSettings(java.lang.String filePath)
Import ea series settings.- Parameters:
filePath- the file path (String)- Returns:
- A bundle contains the error code and message
int erroeCode = bundle.getInt("errorCode"), (error:1, success=0)
String errorMsg=bundle.getString("errorMsg");
-
exportEaSeriesSettings
public android.os.Bundle exportEaSeriesSettings(java.lang.String filePath)
Export ea series settings.- Parameters:
filePath- the file path (String)- Returns:
- A bundle contains the error code and message
int erroeCode = bundle.getInt("errorCode"), (error:1, success=0)
String errorMsg=bundle.getString("errorMsg");
-
-