public static enum Dial.Record extends Enum<Dial.Record>
Enum Constant and Description |
---|
DO_NOT_RECORD |
RECORD_FROM_ANSWER |
RECORD_FROM_ANSWER_DUAL |
RECORD_FROM_RINGING |
RECORD_FROM_RINGING_DUAL |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Dial.Record |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dial.Record[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dial.Record DO_NOT_RECORD
public static final Dial.Record RECORD_FROM_ANSWER
public static final Dial.Record RECORD_FROM_RINGING
public static final Dial.Record RECORD_FROM_ANSWER_DUAL
public static final Dial.Record RECORD_FROM_RINGING_DUAL
public static Dial.Record[] values()
for (Dial.Record c : Dial.Record.values()) System.out.println(c);
public static Dial.Record 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 String toString()
toString
in class Enum<Dial.Record>
Copyright © 2019 Twilio, Inc. All Rights Reserved.