public enum CoreMessage extends Enum<CoreMessage> implements Message
| Enum Constant and Description |
|---|
CLEAR_PRIVATE_DATA |
DEFAULT |
GET_BROWSER_INFORMATION |
ON_ACTIVE |
ON_IDLE |
| Modifier and Type | Method and Description |
|---|---|
static CoreMessage |
get(int code) |
int |
getID()
Get command id to execute on host, service definitions are available on Scope Interface
|
String |
getServiceName()
Associates a command id with a service name
|
static CoreMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoreMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreMessage ON_ACTIVE
public static final CoreMessage ON_IDLE
public static final CoreMessage GET_BROWSER_INFORMATION
public static final CoreMessage CLEAR_PRIVATE_DATA
public static final CoreMessage DEFAULT
public static CoreMessage[] values()
for (CoreMessage c : CoreMessage.values()) System.out.println(c);
public static CoreMessage valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic int getID()
Messagepublic String getServiceName()
MessagegetServiceName in interface Messagepublic static CoreMessage get(int code)
Copyright © 2013. All Rights Reserved.