public enum CrashReportingLevel extends java.lang.Enum<CrashReportingLevel> implements SerializableBeaconValue
| Enum Constant and Description |
|---|
OFF
Crashes are not sent to the server
|
OPT_IN_CRASHES
Crashes are sent to the server
|
OPT_OUT_CRASHES
Crashes are not sent to the server
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
asBeaconValue()
Returns the value of this instance in the form how it will be written to the beacon
|
static CrashReportingLevel |
defaultValue() |
int |
getIntValue() |
static CrashReportingLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CrashReportingLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrashReportingLevel OFF
public static final CrashReportingLevel OPT_OUT_CRASHES
public static final CrashReportingLevel OPT_IN_CRASHES
public static CrashReportingLevel[] values()
for (CrashReportingLevel c : CrashReportingLevel.values()) System.out.println(c);
public static CrashReportingLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getIntValue()
public java.lang.String asBeaconValue()
SerializableBeaconValueasBeaconValue in interface SerializableBeaconValuepublic static CrashReportingLevel defaultValue()