- java.lang.Object
-
- java.lang.Enum<RTCDtxStatus>
-
- dev.onvoid.webrtc.RTCDtxStatus
-
- All Implemented Interfaces:
Serializable,Comparable<RTCDtxStatus>
public enum RTCDtxStatus extends Enum<RTCDtxStatus>
Represents the signaling DTX status.- Author:
- Alex Andres
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RTCDtxStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static RTCDtxStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final RTCDtxStatus DISABLED
Discontinuous transmission is disabled.
-
ENABLED
public static final RTCDtxStatus ENABLED
Discontinuous transmission is enabled if negotiated.
-
-
Method Detail
-
values
public static RTCDtxStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RTCDtxStatus c : RTCDtxStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RTCDtxStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-