java.io.Serializable
, java.lang.Comparable<AudioEncryption>
public enum AudioEncryption extends java.lang.Enum<AudioEncryption>
Enum Constant | Description |
---|---|
XSALSA20_POLY1305 |
|
XSALSA20_POLY1305_LITE |
|
XSALSA20_POLY1305_SUFFIX |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getKey() |
|
static AudioEncryption |
getPreferredMode(org.json.JSONArray array) |
|
static AudioEncryption |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static AudioEncryption[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioEncryption XSALSA20_POLY1305_LITE
public static final AudioEncryption XSALSA20_POLY1305_SUFFIX
public static final AudioEncryption XSALSA20_POLY1305
public static AudioEncryption[] values()
for (AudioEncryption c : AudioEncryption.values()) System.out.println(c);
public static AudioEncryption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getKey()
public static AudioEncryption getPreferredMode(org.json.JSONArray array)