Class MoboLinkCtrl


  • public class MoboLinkCtrl
    extends java.lang.Object
    • 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.Bundle SetAutoRun​(java.lang.Boolean autoRun)
      MoboLink Setting Set Auto Run
      android.os.Bundle SetConnectionNotification​(java.lang.Boolean connectionNotification)
      MoboLink Setting Set Connection Notification
      android.os.Bundle SetEventNotification​(java.lang.Boolean eventNotification)
      MoboLink Setting Set Event Notification
      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
      android.os.Bundle SetRebootstrap​(java.lang.Boolean rebootstrap)
      MoboLink Setting Set RebootStrap
      android.os.Bundle SetServerURL​(java.lang.String serverURL)
      MoboLink Setting Set Server URL
      android.os.Bundle SetShowUI​(java.lang.Boolean showUI)
      MoboLink Setting Set Show UI
      android.os.Bundle SetUserConfigurable​(java.lang.Boolean userConfigurable)
      MoboLink Setting Set User Configurable
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MoboLinkCtrl

        public MoboLinkCtrl​(android.content.Context context)
        Instantiates a new MoboLinkCtrl.
        Parameters:
        context -
    • 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");