public enum SampleRateEnum extends Enum<SampleRateEnum>
| Enum Constant and Description |
|---|
SAMPLE_RATE_16K
16000
|
SAMPLE_RATE_8K
8000
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static SampleRateEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SampleRateEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SampleRateEnum SAMPLE_RATE_8K
public static final SampleRateEnum SAMPLE_RATE_16K
public static SampleRateEnum[] values()
for (SampleRateEnum c : SampleRateEnum.values()) System.out.println(c);
public static SampleRateEnum 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 nullCopyright © 2018. All rights reserved.