public enum CodecEncryptionMode extends Enum<CodecEncryptionMode>
Can be edited with TS3Api.editServer(Map)
.
Enum Constant and Description |
---|
CODEC_CRYPT_DISABLED
Audio encryption is globally disabled on this virtual server.
|
CODEC_CRYPT_ENABLED
Audio encryption is globally enabled on this virtual server.
|
CODEC_CRYPT_INDIVIDUAL
Each channel manages audio encryption on its own.
|
UNKNOWN
An unknown codec encryption mode.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
static CodecEncryptionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodecEncryptionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodecEncryptionMode CODEC_CRYPT_INDIVIDUAL
TS3Api.editChannel(int, Map)
public static final CodecEncryptionMode CODEC_CRYPT_DISABLED
public static final CodecEncryptionMode CODEC_CRYPT_ENABLED
public static final CodecEncryptionMode UNKNOWN
If you ever encounter an unknown mode, please tell us! We may have to update the API.
public static CodecEncryptionMode[] values()
for (CodecEncryptionMode c : CodecEncryptionMode.values()) System.out.println(c);
public static CodecEncryptionMode 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 int getIndex()
Copyright © 2015. All rights reserved.