Package com.unitech.api.uapps
Class MoboLinkCtrl
java.lang.Object
com.unitech.api.uapps.MoboLinkCtrl
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMoboLinkCtrl(android.content.Context context) Instantiates a new MoboLinkCtrl. -
Method Summary
Modifier and TypeMethodDescriptionandroid.os.BundleSetAutoRun(Boolean autoRun) MoboLink Setting Set Auto Runandroid.os.BundleSetConnectionNotification(Boolean connectionNotification) MoboLink Setting Set Connection Notificationandroid.os.BundleSetEventNotification(Boolean eventNotification) MoboLink Setting Set Event Notificationandroid.os.BundleSetMessageNotification(Boolean messageNotification) MoboLink Setting Set Message Notificationandroid.os.BundleSetMoboLinkConfig(String serverUrl, Boolean rebootstrap, Boolean showUI, Boolean connectionNotification, Boolean eventNotification, Boolean messageNotification, Boolean userConfigurable, Boolean autoRun) MoboLink Settting, set configandroid.os.BundleSetRebootstrap(Boolean rebootstrap) MoboLink Setting Set RebootStrapandroid.os.BundleSetServerURL(String serverURL) MoboLink Setting Set Server URLandroid.os.BundleMoboLink Setting Set Show UIandroid.os.BundleSetUserConfigurable(Boolean userConfigurable) MoboLink Setting Set User Configurable
-
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
-
MoboLinkCtrl
public MoboLinkCtrl(android.content.Context context) Instantiates a new MoboLinkCtrl.- Parameters:
context-
-
-
Method Details
-
SetServerURL
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
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
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
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
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");
-
SetMessageNotification
MoboLink Setting Set Message Notification- Parameters:
messageNotification- 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
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
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(String serverUrl, Boolean rebootstrap, Boolean showUI, Boolean connectionNotification, Boolean eventNotification, Boolean messageNotification, Boolean userConfigurable, 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)messageNotification- 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");
-