public static enum VerificationCheck.Channel extends Enum<VerificationCheck.Channel>
| Modifier and Type | Method and Description |
|---|---|
static VerificationCheck.Channel |
forValue(String value)
Generate a Channel from a string.
|
String |
toString() |
static VerificationCheck.Channel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerificationCheck.Channel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerificationCheck.Channel SMS
public static final VerificationCheck.Channel CALL
public static VerificationCheck.Channel[] values()
for (VerificationCheck.Channel c : VerificationCheck.Channel.values()) System.out.println(c);
public static VerificationCheck.Channel 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<VerificationCheck.Channel>public static VerificationCheck.Channel forValue(String value)
value - string valueCopyright © 2016 Twilio, Inc. All Rights Reserved.