Enum Class PhoneRequest
- All Implemented Interfaces:
Serializable, Comparable<PhoneRequest>, Constable
Represents the type of a phone request.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAnswer.Performs a blind conference call.Performs a blind transfer of a call.Cancel supervision request.Clear the call.Clears the digits.Collects DTMF digits.Conference.Removes a call from the queue of the instance.Dial.Disconnect.Diverts a call.Ends the reservation.Inserts a call in the queue of the instance.Extend.Hold.Monitors a call (single step conference).No value is assigned.Plays a message.Plays a message and collects DTMF digits.Play music.Records a message.Request supervision.Resume the enqueue.Retrieve.Dials the digits.Requests for generic service.Start recording.Stop media operation.Stop recording.Suspend the enqueue.Transfer. -
Method Summary
Modifier and TypeMethodDescriptionstatic PhoneRequestfromValue(int v) intvalue()static PhoneRequestReturns the enum constant of this class with the specified name.static PhoneRequest[]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. -
Answer
Answer. -
Disconnect
Disconnect. -
Hold
Hold. -
Extend
Extend. -
Retrieve
Retrieve. -
Transfer
Transfer. -
Conference
Conference. -
Dial
Dial. -
StartRecording
Start recording. -
StopRecording
Stop recording. -
ClearCallProfile
Clear the call. -
Enqueue
Inserts a call in the queue of the instance. -
Dequeue
Removes a call from the queue of the instance. -
BlindTransfer
Performs a blind transfer of a call. -
BlindConference
Performs a blind conference call. -
Divert
Diverts a call. -
PlayMessage
Plays a message. -
RecordMessage
Records a message. -
CollectDigits
Collects DTMF digits. -
ClearDigits
Clears the digits. -
SendDigits
Dials the digits. -
SendGenericData
Requests for generic service. -
PlayMessageAndCollectDigits
Plays a message and collects DTMF digits. -
Monitor
Monitors a call (single step conference). -
EndReservation
Ends the reservation. -
RequestSupervision
Request supervision. -
CancelSupervisionRequest
Cancel supervision request. -
SuspendEnqueue
Suspend the enqueue. -
ResumeEnqueue
Resume the enqueue. -
PlayMusic
Play music. -
StopMediaOperation
Stop media operation.
-
-
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
-