|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ReportField>
org.acra.ReportField
public enum ReportField
Specifies all the different fields available in a crash report.
Enum Constant Summary | |
---|---|
ANDROID_VERSION
Device android version name. |
|
APP_VERSION_CODE
Application version code. |
|
APP_VERSION_NAME
Application version name. |
|
APPLICATION_LOG
Content of your own application log file. |
|
AVAILABLE_MEM_SIZE
Estimation of the available device memory size based on filesystem stats. |
|
BRAND
Device brand (manufacturer or carrier). |
|
BUILD
Android Build details. |
|
CRASH_CONFIGURATION
Configuration fields state on the application crash. |
|
CUSTOM_DATA
Contains key = value pairs defined by the application developer during the application execution. |
|
DEVICE_FEATURES
Features declared as available on this device by the system. |
|
DEVICE_ID
Device unique ID (IMEI). |
|
DISPLAY
Device display specifications. |
|
DROPBOX
Content of the android.os.DropBoxManager (introduced in API level 8). |
|
DUMPSYS_MEMINFO
Memory state details for the application process. |
|
ENVIRONMENT
External storage state and standard directories. |
|
EVENTSLOG
Logcat eventslog extract. |
|
FILE_PATH
Base path of the application's private file folder. |
|
INITIAL_CONFIGURATION
Configuration fields state on the application start. |
|
INSTALLATION_ID
Installation unique ID. |
|
IS_SILENT
True if the report has been explicitly sent silently by the developer. |
|
LOGCAT
Logcat default extract. |
|
MEDIA_CODEC_LIST
Since Android API Level 16 (Android 4.1 - Jelly Beans), retrieve the list of supported Media codecs and their capabilities (color format, profile and level). |
|
PACKAGE_NAME
Application package name. |
|
PHONE_MODEL
Device model name. |
|
PRODUCT
Device overall product code. |
|
RADIOLOG
Logcat radio extract. |
|
REPORT_ID
Report Identifier |
|
SETTINGS_GLOBAL
Global settings, introduced in Android 4.2 (API level 17) to centralize settings for multiple users. |
|
SETTINGS_SECURE
Secure settings (applications can't modify them). |
|
SETTINGS_SYSTEM
System settings. |
|
SHARED_PREFERENCES
SharedPreferences contents |
|
STACK_TRACE
The Holy Stack Trace. |
|
THREAD_DETAILS
Retrieves details of the failing thread (id, name, group name). |
|
TOTAL_MEM_SIZE
Estimation of the total device memory size based on filesystem stats. |
|
USER_APP_START_DATE
User date on application start. |
|
USER_COMMENT
Comment added by the user in the CrashReportDialog displayed in ReportingInteractionMode.NOTIFICATION mode. |
|
USER_CRASH_DATE
User date immediately after the crash occurred. |
|
USER_EMAIL
User email address. |
|
USER_IP
Retrieves the user IP address(es). |
Method Summary | |
---|---|
boolean |
containsKeyValuePairs()
Whether this field is a collection of key/value pairs. |
static ReportField |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ReportField[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ReportField REPORT_ID
public static final ReportField APP_VERSION_CODE
PackageInfo.versionCode
public static final ReportField APP_VERSION_NAME
PackageInfo.versionName
public static final ReportField PACKAGE_NAME
Context.getPackageName()
public static final ReportField FILE_PATH
Context.getFilesDir()
public static final ReportField PHONE_MODEL
Build.MODEL
public static final ReportField ANDROID_VERSION
Build.VERSION.RELEASE
public static final ReportField BUILD
Build
public static final ReportField BRAND
Build.BRAND
public static final ReportField PRODUCT
Build.PRODUCT
public static final ReportField TOTAL_MEM_SIZE
public static final ReportField AVAILABLE_MEM_SIZE
public static final ReportField CUSTOM_DATA
public static final ReportField STACK_TRACE
public static final ReportField INITIAL_CONFIGURATION
Configuration
fields state on the application start.
Configuration
public static final ReportField CRASH_CONFIGURATION
Configuration
fields state on the application crash.
Configuration
public static final ReportField DISPLAY
WindowManager.getDefaultDisplay()
public static final ReportField USER_COMMENT
ReportingInteractionMode.NOTIFICATION
mode.
public static final ReportField USER_APP_START_DATE
public static final ReportField USER_CRASH_DATE
public static final ReportField DUMPSYS_MEMINFO
public static final ReportField DROPBOX
public static final ReportField LOGCAT
public static final ReportField EVENTSLOG
public static final ReportField RADIOLOG
public static final ReportField IS_SILENT
public static final ReportField DEVICE_ID
public static final ReportField INSTALLATION_ID
public static final ReportField USER_EMAIL
ACRA.PREF_USER_EMAIL_ADDRESS
SharedPreference.
public static final ReportField DEVICE_FEATURES
public static final ReportField ENVIRONMENT
public static final ReportField SETTINGS_SYSTEM
public static final ReportField SETTINGS_SECURE
public static final ReportField SETTINGS_GLOBAL
public static final ReportField SHARED_PREFERENCES
public static final ReportField APPLICATION_LOG
ReportsCrashes.applicationLogFile()
to define the path/name of
the log file and ReportsCrashes.applicationLogFileLines()
to set
the number of lines you want to be retrieved.
public static final ReportField MEDIA_CODEC_LIST
public static final ReportField THREAD_DETAILS
public static final ReportField USER_IP
Method Detail |
---|
public static ReportField[] values()
for (ReportField c : ReportField.values()) System.out.println(c);
public static ReportField valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean containsKeyValuePairs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |