Package io.agora.rtc2
Enum Class Constants.MultipathMode
- All Implemented Interfaces:
Serializable,Comparable<Constants.MultipathMode>,Constable
- Enclosing class:
- Constants
- Since:
- 4.6.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription0: Duplicate mode, where data is sent over multiple paths simultaneously.1: Dynamic transmission mode. -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic Constants.MultipathModeReturns the enum constant of this class with the specified name.static Constants.MultipathMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
MULTIPATH_MODE_DUPLICATE
0: Duplicate mode, where data is sent over multiple paths simultaneously. This mode ensures redundancy and can improve reliability in data transmission. -
MULTIPATH_MODE_DYNAMIC
1: Dynamic transmission mode. The SDK dynamically selects the optimal path for data transmission based on the current network conditions to improve transmission performance.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-