public static enum CREGquestion.NetworkStatus extends Enum<CREGquestion.NetworkStatus>
Enum Constant and Description |
---|
CSFB |
CSFB_REAMING |
DENIED |
EMERGENCY_ONLY |
NOT_REGISTERED |
REGISTERED |
ROAMING |
SEARCHING |
SMS_ONLY |
SMS_ONLY_ROAMING |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static CREGquestion.NetworkStatus |
valueOf(int code) |
static CREGquestion.NetworkStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CREGquestion.NetworkStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CREGquestion.NetworkStatus NOT_REGISTERED
public static final CREGquestion.NetworkStatus REGISTERED
public static final CREGquestion.NetworkStatus SEARCHING
public static final CREGquestion.NetworkStatus DENIED
public static final CREGquestion.NetworkStatus UNKNOWN
public static final CREGquestion.NetworkStatus ROAMING
public static final CREGquestion.NetworkStatus SMS_ONLY
public static final CREGquestion.NetworkStatus SMS_ONLY_ROAMING
public static final CREGquestion.NetworkStatus EMERGENCY_ONLY
public static final CREGquestion.NetworkStatus CSFB
public static final CREGquestion.NetworkStatus CSFB_REAMING
public static CREGquestion.NetworkStatus[] values()
for (CREGquestion.NetworkStatus c : CREGquestion.NetworkStatus.values()) System.out.println(c);
public static CREGquestion.NetworkStatus 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 getCode()
public static CREGquestion.NetworkStatus valueOf(int code)
Copyright © 2015–2016 jSMS4Pi. All rights reserved.