Enum Class PhoneStatus
- All Implemented Interfaces:
Serializable, Comparable<PhoneStatus>, Constable
Represents the types of call classification actions.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBusyCustom call status #1Custom call status #2Custom call status #3Custom call status #4Custom call status #5Answered by a FAXIn DNCLInvalidAnswered by a machineMax.Answered by a modemNo answerNo value is assigned.RejectedStarted -
Method Summary
Modifier and TypeMethodDescriptionstatic PhoneStatusfromValue(int v) intvalue()static PhoneStatusReturns the enum constant of this class with the specified name.static PhoneStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NoValue
No value is assigned. -
Started
Started -
MaxTriesReached
Max. number of tries reached -
Machine
Answered by a machine -
Rejected
Rejected -
Invalid
Invalid -
Busy
Busy -
NoAnswer
No answer -
InDoNotCallList
In DNCL -
Modem
Answered by a modem -
Fax
Answered by a FAX -
CustomCallStatus1
Custom call status #1 -
CustomCallStatus2
Custom call status #2 -
CustomCallStatus3
Custom call status #3 -
CustomCallStatus4
Custom call status #4 -
CustomCallStatus5
Custom call status #5
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
value
public int value() -
fromValue
-