Package com.unitech.api.uapps
Class EnterpriseBrowserCtrl
java.lang.Object
com.unitech.api.uapps.EnterpriseBrowserCtrl
-
Constructor Summary
ConstructorsConstructorDescriptionEnterpriseBrowserCtrl(android.content.Context context) Instantiates a new EnterpriseBrowserCtrl. -
Method Summary
Modifier and TypeMethodDescriptionandroid.os.BundleexportSettings(String filePath) Export Settingsandroid.os.BundleimportSettings(String filePath) Import settings.android.os.BundlelicenseActivate(String keyid, boolean enable) License Activate settings.android.os.BundleReset settingsandroid.os.BundlestartURLSettings(String keySetString) start URL settings.
-
Constructor Details
-
EnterpriseBrowserCtrl
public EnterpriseBrowserCtrl(android.content.Context context) Instantiates a new EnterpriseBrowserCtrl.- Parameters:
context-
-
-
Method Details
-
resetSettings
public android.os.Bundle resetSettings()Reset settings- 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/eb.conf- Returns:
- A bundle contains the error code and message
int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
String errorMsg=bundle.getString("errorMsg");
-
importSettings
Import settings.- Parameters:
filePath- the complete file path. e.g. /sdcard/eb.conf- Returns:
- A bundle contains the error code and message
int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
String errorMsg=bundle.getString("errorMsg");
-
startURLSettings
start URL settings.- Parameters:
keySetString- the KetSet string for url, visibilities of addressbar, navbar, interactive and fullscreen settings. e.g. url:https://www.google.com,addressbar:true,navbar:true,fullscreen:true,interactive:true- Returns:
- A bundle contains the error code and message
int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
String errorMsg=bundle.getString("errorMsg");
-
licenseActivate
License Activate settings.- Parameters:
keyid- for license keyenable- true for activate, false for deactivate license- Returns:
- A bundle contains the error code and message
int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
String errorMsg=bundle.getString("errorMsg");
-