Package com.unitech.api.uapps
Class MoboLinkCtrl
- java.lang.Object
-
- com.unitech.api.uapps.MoboLinkCtrl
-
public class MoboLinkCtrl extends java.lang.Object
-
-
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 MoboLinkCtrl(android.content.Context context)Instantiates a new MoboLinkCtrl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description android.os.BundleSetAutoRun(java.lang.Boolean autoRun)MoboLink Setting Set Auto Runandroid.os.BundleSetConnectionNotification(java.lang.Boolean connectionNotification)MoboLink Setting Set Connection Notificationandroid.os.BundleSetEventNotification(java.lang.Boolean eventNotification)MoboLink Setting Set Event Notificationandroid.os.BundleSetMoboLinkConfig(java.lang.String serverUrl, java.lang.Boolean rebootstrap, java.lang.Boolean showUI, java.lang.Boolean connectionNotification, java.lang.Boolean eventNotification, java.lang.Boolean userConfigurable, java.lang.Boolean autoRun)MoboLink Settting, set configandroid.os.BundleSetRebootstrap(java.lang.Boolean rebootstrap)MoboLink Setting Set RebootStrapandroid.os.BundleSetServerURL(java.lang.String serverURL)MoboLink Setting Set Server URLandroid.os.BundleSetShowUI(java.lang.Boolean showUI)MoboLink Setting Set Show UIandroid.os.BundleSetUserConfigurable(java.lang.Boolean userConfigurable)MoboLink Setting Set User Configurable
-
-
-
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
-
SetServerURL
public android.os.Bundle SetServerURL(java.lang.String serverURL)
MoboLink Setting Set Server URL- Parameters:
serverURL- Server URL (String)- Returns:
- A bundle contains the error code and message
int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
String errorMsg = bundle.getString("errorMsg");
-
SetRebootstrap
public android.os.Bundle SetRebootstrap(java.lang.Boolean rebootstrap)
MoboLink Setting Set RebootStrap- Parameters:
rebootstrap- 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");
-
SetShowUI
public android.os.Bundle SetShowUI(java.lang.Boolean showUI)
MoboLink Setting Set Show UI- Parameters:
showUI- 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");
-
SetConnectionNotification
public android.os.Bundle SetConnectionNotification(java.lang.Boolean connectionNotification)
MoboLink Setting Set Connection Notification- Parameters:
connectionNotification- 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");
-
SetEventNotification
public android.os.Bundle SetEventNotification(java.lang.Boolean eventNotification)
MoboLink Setting Set Event Notification- Parameters:
eventNotification- 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");
-
SetUserConfigurable
public android.os.Bundle SetUserConfigurable(java.lang.Boolean userConfigurable)
MoboLink Setting Set User Configurable- Parameters:
userConfigurable- 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");
-
SetAutoRun
public android.os.Bundle SetAutoRun(java.lang.Boolean autoRun)
MoboLink Setting Set Auto Run- Parameters:
autoRun- 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");
-
SetMoboLinkConfig
public android.os.Bundle SetMoboLinkConfig(java.lang.String serverUrl, java.lang.Boolean rebootstrap, java.lang.Boolean showUI, java.lang.Boolean connectionNotification, java.lang.Boolean eventNotification, java.lang.Boolean userConfigurable, java.lang.Boolean autoRun)MoboLink Settting, set config- Parameters:
serverUrl- server url (String)rebootstrap- true or false (boolean)showUI- true or false (boolean)connectionNotification- true or false (boolean)eventNotification- true or false (boolean)userConfigurable- true or false (boolean)autoRun- 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");
-
-