public static enum Gateway.Status extends Enum<Gateway.Status>
Enum Constant and Description |
---|
BUSY |
CLOSED |
INITIALIZED |
NETWORK_OK |
OPENED |
READY |
SIM_OK |
Modifier and Type | Method and Description |
---|---|
int |
getStatusCode() |
static Gateway.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Gateway.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gateway.Status CLOSED
public static final Gateway.Status OPENED
public static final Gateway.Status SIM_OK
public static final Gateway.Status INITIALIZED
public static final Gateway.Status NETWORK_OK
public static final Gateway.Status BUSY
public static final Gateway.Status READY
public static Gateway.Status[] values()
for (Gateway.Status c : Gateway.Status.values()) System.out.println(c);
public static Gateway.Status 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 getStatusCode()
Copyright © 2015–2016 jSMS4Pi. All rights reserved.