Class EnterpriseBrowserCtrl

java.lang.Object
com.unitech.api.uapps.EnterpriseBrowserCtrl

public class EnterpriseBrowserCtrl extends Object
  • Constructor Details

    • EnterpriseBrowserCtrl

      public EnterpriseBrowserCtrl(Context context)
      Instantiates a new EnterpriseBrowserCtrl.
      Parameters:
      context -
  • Method Details

    • resetSettings

      public 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

      public Bundle exportSettings(String filePath)
      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

      public Bundle importSettings(String filePath)
      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

      public Bundle startURLSettings(String keySetString)
      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

      public Bundle licenseActivate(String keyid, boolean enable)
      License Activate settings.
      Parameters:
      keyid - for license key
      enable - 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");