public class DebuggingCtrl
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BUNDLE_ERROR_CODE |
static java.lang.String |
BUNDLE_ERROR_MSG |
static java.lang.String |
ERROR_UNSUPPORTED |
static int |
RESULT_CODE_ERROR |
static int |
RESULT_CODE_SUCCESS |
| Constructor and Description |
|---|
DebuggingCtrl(android.content.Context context)
Instantiates a new Debugging ctrl.
|
| Modifier and Type | Method and Description |
|---|---|
android.os.Bundle |
saveLogcatFile(java.lang.String filePath,
long seconds)
Save logcat file bundle.
|
android.os.Bundle |
stopSaveLogcat(int pid)
Stop save logcat bundle.
|
public static final java.lang.String BUNDLE_ERROR_CODE
public static final java.lang.String BUNDLE_ERROR_MSG
public static final java.lang.String ERROR_UNSUPPORTED
public static final int RESULT_CODE_ERROR
public static final int RESULT_CODE_SUCCESS
public DebuggingCtrl(android.content.Context context)
context - the contextpublic android.os.Bundle saveLogcatFile(java.lang.String filePath,
long seconds)
filePath - the file path (String)seconds - the seconds (String)public android.os.Bundle stopSaveLogcat(int pid)
pid - ,task pid number (int)