Enum Constant and Description |
---|
INST |
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
SUPPORT_ADDRESS
Support email address
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBody(android.content.Context context)
Get system info.
|
void |
send(android.content.Context ctxt,
java.lang.String subject,
java.lang.String body)
Send an email to support address
|
static Email |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Email[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Email INST
private static final java.lang.String SUPPORT_ADDRESS
public static Email[] values()
for (Email c : Email.values()) System.out.println(c);
public static Email 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 java.lang.String getBody(android.content.Context context)
public void send(android.content.Context ctxt, java.lang.String subject, java.lang.String body)
ctxt
- A Contextsubject
- Email subjectbody
- Email body