Class DebuggingCtrl

java.lang.Object
com.unitech.api.debugging.DebuggingCtrl

public class DebuggingCtrl extends Object
The type Debugging ctrl.
  • Field Details

  • Constructor Details

    • DebuggingCtrl

      public DebuggingCtrl(android.content.Context context)
      Instantiates a new Debugging ctrl.
      Parameters:
      context - the context
  • Method Details

    • saveLogcatFile

      public android.os.Bundle saveLogcatFile(String filePath, long seconds)
      Save logcat file bundle.
      Parameters:
      filePath - the file path (String)
      seconds - the seconds (String)
      Returns:
      A bundle contains the error code and message
      int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
      String errorMsg = bundle.getString("errorMsg");
      int pid = bundle.getInt("Pid");
    • stopSaveLogcat

      public android.os.Bundle stopSaveLogcat(int pid)
      Stop save logcat bundle.
      Parameters:
      pid - ,task pid number (int)
      Returns:
      A bundle contains the error code and message
      int errorCode = bundle.getInt("errorCode"), (error:1, success=0)
      String errorMsg = bundle.getString("errorMsg");