Class StageGoCtrl


  • public class StageGoCtrl
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      StageGoCtrl​(android.content.Context context)
      Instantiates a new StageGoCtrl.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      android.os.Bundle enabledBootupScript​(boolean enabled)  
      android.os.Bundle setBootupScript​(java.lang.String filepath)
      Call StageGO API to set bootup script files list
      android.os.Bundle setPasscode​(java.lang.String passcode)
      StageGO setting, Set Pass Code
      android.os.Bundle setReportMaxNum​(int num)
      StageGO setting, Set Report max number
      android.os.Bundle setReportPath​(java.lang.String filepath)
      StageGO setting, Set Report Path
      android.os.Bundle setScanMode​(java.lang.String scanMode)
      StageGO setting, Set Scan Mode
      • Methods inherited from class java.lang.Object

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

      • StageGoCtrl

        public StageGoCtrl​(android.content.Context context)
        Instantiates a new StageGoCtrl.
        Parameters:
        context -
    • Method Detail

      • setReportPath

        public android.os.Bundle setReportPath​(java.lang.String filepath)
        StageGO setting, Set Report Path
        Parameters:
        filepath - file path (String)
        Returns:
        A bundle contains the error code and message
        int erroeCode = bundle.getInt("errorCode"), (error:1, success=0)
        String errorMsg = bundle.getString("errorMsg");
      • setReportMaxNum

        public android.os.Bundle setReportMaxNum​(int num)
        StageGO setting, Set Report max number
        Parameters:
        num - number (int)
        Returns:
        A bundle contains the error code and message
        int erroeCode = bundle.getInt("errorCode"), (error:1, success=0)
        String errorMsg = bundle.getString("errorMsg");
      • enabledBootupScript

        public android.os.Bundle enabledBootupScript​(boolean enabled)
        Parameters:
        enabled - (boolean) (true or false)
        Returns:
        A bundle contains the error code and message
        int erroeCode = bundle.getInt("errorCode"), (error:1, success=0)
        String errorMsg = bundle.getString("errorMsg");
      • setBootupScript

        public android.os.Bundle setBootupScript​(java.lang.String filepath)
        Call StageGO API to set bootup script files list
        Parameters:
        filepath - Files path, separated by "," (String)
        Returns:
        A bundle contains the error code and message
        int erroeCode = bundle.getInt("errorCode"), (error:1, success=0)
        String errorMsg = bundle.getString("errorMsg");
      • setPasscode

        public android.os.Bundle setPasscode​(java.lang.String passcode)
        StageGO setting, Set Pass Code
        Parameters:
        passcode - passcode (String) (press empty data, it will set no password)
        Returns:
        A bundle contains the error code and message
        int erroeCode = bundle.getInt("errorCode"), (error:1, success=0)
        String errorMsg = bundle.getString("errorMsg");
      • setScanMode

        public android.os.Bundle setScanMode​(java.lang.String scanMode)
        StageGO setting, Set Scan Mode
        Parameters:
        scanMode - CameraMode or ScannerMode (String)
        Returns:
        A bundle contains the error code and message
        int erroeCode = bundle.getInt("errorCode"), (error:1, success=0)
        String errorMsg = bundle.getString("errorMsg");