Back to Acra

ReportField

web/static/javadoc/5.4.0/org/acra/ReportField.html

latest15.1 KB
Original Source

Skip navigation links

org.acra

Enum ReportField


public enumReportFieldextends[Enum](http://d.android.com/reference/java/lang/Enum.html?is-external=true "class or interface in java.lang")<[ReportField](../../org/acra/ReportField.html "enum in org.acra")>

Specifies all the different fields available in a crash report.

Enum Constant Summary

Enum Constants | Enum Constant and Description | | --- | | 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. | | BUILD_CONFIG Contains key = value pairs defined by the application developer during the application build. | | CRASH_CONFIGURATION android.content.res.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 android.content.res.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. | | STACK_TRACE_HASH A hash of the stack trace, taking only method names into account. | | 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. | | 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

All Methods Static Methods Concrete Methods | Modifier and Type | Method and Description | | --- | --- | | 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

- 

REPORT_ID

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")REPORT_ID

Report Identifier.

- 

APP_VERSION_CODE

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")APP_VERSION_CODE

Application version code. This is the incremental integer version code used to differentiate versions on the android market.

- 

APP_VERSION_NAME

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")APP_VERSION_NAME

Application version name.

- 

PACKAGE_NAME

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")PACKAGE_NAME

Application package name.

- 

FILE_PATH

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")FILE_PATH

Base path of the application's private file folder.

- 

PHONE_MODEL

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")PHONE_MODEL

Device model name.

- 

ANDROID_VERSION

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")ANDROID_VERSION

Device android version name.

- 

BUILD

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")BUILD

Android Build details.

- 

BRAND

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")BRAND

Device brand (manufacturer or carrier).

- 

PRODUCT

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")PRODUCT

Device overall product code.

- 

TOTAL_MEM_SIZE

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")TOTAL_MEM_SIZE

Estimation of the total device memory size based on filesystem stats.

- 

AVAILABLE_MEM_SIZE

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")AVAILABLE_MEM_SIZE

Estimation of the available device memory size based on filesystem stats.

- 

BUILD_CONFIG

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")BUILD_CONFIG

Contains key = value pairs defined by the application developer during the application build.

- 

CUSTOM_DATA

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")CUSTOM_DATA

Contains key = value pairs defined by the application developer during the application execution.

- 

STACK_TRACE

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")STACK_TRACE

The Holy Stack Trace.

- 

STACK_TRACE_HASH

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")STACK_TRACE_HASH

A hash of the stack trace, taking only method names into account.
Line numbers are stripped out before computing the hash. This can help you uniquely identify stack traces.

- 

INITIAL_CONFIGURATION

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")INITIAL_CONFIGURATION

android.content.res.Configuration fields state on the application start.

- 

CRASH_CONFIGURATION

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")CRASH_CONFIGURATION

android.content.res.Configuration fields state on the application crash.

- 

DISPLAY

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")DISPLAY

Device display specifications.

- 

USER_COMMENT

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")USER_COMMENT

Comment added by the user in the CrashReportDialog.

- 

USER_APP_START_DATE

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")USER_APP_START_DATE

User date on application start.

- 

USER_CRASH_DATE

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")USER_CRASH_DATE

User date immediately after the crash occurred.

- 

DUMPSYS_MEMINFO

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")DUMPSYS_MEMINFO

Memory state details for the application process.

- 

DROPBOX

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")DROPBOX

Content of the android.os.DropBoxManager (introduced in API level 8). Requires READ_LOGS permission.

- 

LOGCAT

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")LOGCAT

Logcat default extract. Requires READ_LOGS permission.

- 

EVENTSLOG

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")EVENTSLOG

Logcat eventslog extract. Requires READ_LOGS permission.

- 

RADIOLOG

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")RADIOLOG

Logcat radio extract. Requires READ_LOGS permission.

- 

IS_SILENT

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")IS_SILENT

True if the report has been explicitly sent silently by the developer.

- 

DEVICE_ID

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")DEVICE_ID

Device unique ID (IMEI). Requires READ_PHONE_STATE permission.

- 

INSTALLATION_ID

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")INSTALLATION_ID

Installation unique ID. This identifier allow you to track a specific user application installation without using any personal data.

- 

USER_EMAIL

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")USER_EMAIL

User email address. Can be provided by the user in SharedPreferences.

- 

DEVICE_FEATURES

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")DEVICE_FEATURES

Features declared as available on this device by the system.

- 

ENVIRONMENT

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")ENVIRONMENT

External storage state and standard directories.

- 

SETTINGS_SYSTEM

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")SETTINGS_SYSTEM

System settings.

- 

SETTINGS_SECURE

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")SETTINGS_SECURE

Secure settings (applications can't modify them).

- 

SETTINGS_GLOBAL

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")SETTINGS_GLOBAL

Global settings, introduced in Android 4.2 (API level 17) to centralize settings for multiple users.

- 

SHARED_PREFERENCES

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")SHARED_PREFERENCES

SharedPreferences contents

- 

APPLICATION_LOG

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")APPLICATION_LOG

Content of your own application log file.

- 

MEDIA_CODEC_LIST

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")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).

- 

THREAD_DETAILS

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")THREAD_DETAILS

Retrieves details of the failing thread (id, name, group name).

- 

USER_IP

public static final[ReportField](../../org/acra/ReportField.html "enum in org.acra")USER_IP

Retrieves the user IP address(es).

Method Detail

- 

values

public static[ReportField](../../org/acra/ReportField.html "enum in org.acra")[] values()

Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

for (ReportField c : ReportField.values())
    System.out.println(c);

Returns:an array containing the constants of this enum type, in the order they are declared

- 

valueOf

public static[ReportField](../../org/acra/ReportField.html "enum in org.acra")valueOf([String](http://d.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) Parameters:name - the name of the enum constant to be returned.Returns:the enum constant with the specified nameThrows:IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null

Skip navigation links