Package com.unitech.api.development
Class DevelopmentSettingCtrl
java.lang.Object
com.unitech.api.development.DevelopmentSettingCtrl
The type Security ctrl.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBundlesetDesktopMode(boolean enabled) Set DesktopMode .BundlesetFreeformSupport(boolean enabled) Set FreeformSupport .BundlesetResizableActivities(boolean enabled) Set ResizableActivities .
-
Field Details
-
BUNDLE_ERROR_CODE
- See Also:
-
BUNDLE_ERROR_MSG
- See Also:
-
RESULT_CODE_ERROR
public static final int RESULT_CODE_ERROR- See Also:
-
RESULT_CODE_SUCCESS
public static final int RESULT_CODE_SUCCESS- See Also:
-
-
Constructor Details
-
DevelopmentSettingCtrl
public DevelopmentSettingCtrl(Context context) Instantiates a new Security ctrl.- Parameters:
context- the context
-
-
Method Details
-
setDesktopMode
public Bundle setDesktopMode(boolean enabled) Set DesktopMode .- Parameters:
enabled- true or false (boolean)- Returns:
- A bundle contains the error code and message
int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
String errorMsg = bundle.getString("errorMsg");
-
setFreeformSupport
public Bundle setFreeformSupport(boolean enabled) Set FreeformSupport .- Parameters:
enabled- true or false (boolean)- Returns:
- A bundle contains the error code and message
int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
String errorMsg = bundle.getString("errorMsg");
-
setResizableActivities
public Bundle setResizableActivities(boolean enabled) Set ResizableActivities .- Parameters:
enabled- true or false (boolean)- Returns:
- A bundle contains the error code and message
int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
String errorMsg = bundle.getString("errorMsg");
-