public enum AudioEncoding extends Enum<AudioEncoding>
Modifier and Type | Method and Description |
---|---|
boolean |
equals(AudioEncoding encoding) |
boolean |
equals(String encoding) |
String |
toString() |
static AudioEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AudioEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioEncoding OPUS
public static final AudioEncoding LPCM
public static AudioEncoding[] values()
for (AudioEncoding c : AudioEncoding.values()) System.out.println(c);
public static AudioEncoding 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 boolean equals(String encoding)
public boolean equals(AudioEncoding encoding)
public String toString()
toString
in class Enum<AudioEncoding>
Copyright © 2018. All rights reserved.