public static enum Rule.Kind extends Enum<Rule.Kind>
Modifier and Type | Method and Description |
---|---|
static Rule.Kind |
forValue(String value) |
String |
toString() |
String |
value() |
static Rule.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rule.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rule.Kind AUDIO
public static final Rule.Kind DATA
public static final Rule.Kind VIDEO
public static Rule.Kind[] values()
for (Rule.Kind c : Rule.Kind.values()) System.out.println(c);
public static Rule.Kind 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 value()
Copyright © 2019 Twilio, Inc. All Rights Reserved.