Package com.unitech.api.uapps
Class TagAccessCtrl
java.lang.Object
com.unitech.api.uapps.TagAccessCtrl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBundleexportSettings(String filePath) Export SettingsBundleimportSettings(String filePath, String passCode) Import settings.BundleresetSettings(String passCode) Reset settings
-
Field Details
-
apiImport
- See Also:
-
apiExport
- See Also:
-
apiReset
- See Also:
-
apiImportReply
- See Also:
-
apiExportReply
- See Also:
-
apiResetReply
- See Also:
-
-
Constructor Details
-
TagAccessCtrl
public TagAccessCtrl(Context context) Instantiates a new TagAccessCtrl.- Parameters:
context-
-
-
Method Details
-
importSettings
Import settings.- Parameters:
filePath- the complete file path. e.g. /sdcard/ta.confpassCode- password (if it was no data, it could be empty string).- Returns:
- A bundle contains the error code and message
int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
String errorMsg=bundle.getString("errorMsg");
-
exportSettings
Export Settings- Parameters:
filePath- the complete file path. e.g. /sdcard/ta.conf- Returns:
- A bundle contains the error code and message
int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
String errorMsg=bundle.getString("errorMsg");
-
resetSettings
Reset settings- Parameters:
passCode- password (if it was no data, it could be empty string).- Returns:
- A bundle contains the error code and message
int errorCode = bundle.getInt("errorCode"), (error:1, success=0) String errorMsg=bundle.getString("errorMsg");
-