Package io.agora.rtc2

Enum Class Constants.MultipathType

java.lang.Object
java.lang.Enum<Constants.MultipathType>
io.agora.rtc2.Constants.MultipathType
All Implemented Interfaces:
Serializable, Comparable<Constants.MultipathType>, Constable
Enclosing class:
Constants

public static enum Constants.MultipathType extends Enum<Constants.MultipathType>
Since:
4.6.0
  • Enum Constant Details

    • MULTIPATH_TYPE_LAN

      public static final Constants.MultipathType MULTIPATH_TYPE_LAN
      0: LAN type, indicating that the data is transmitted over a local area network. This type is typically used for high-speed, low-latency connections.
    • MULTIPATH_TYPE_WIFI

      public static final Constants.MultipathType MULTIPATH_TYPE_WIFI
      1: WIFI type, indicating that the data is transmitted over a Wi-Fi network. This type is suitable for wireless connections with moderate latency.
    • MULTIPATH_TYPE_MOBILE

      public static final Constants.MultipathType MULTIPATH_TYPE_MOBILE
      2: Mobile type, indicating that the data is transmitted over a mobile network. This type is used for connections that may have higher latency and variability.
    • MULTIPATH_TYPE_UNKNOWN

      public static final Constants.MultipathType MULTIPATH_TYPE_UNKNOWN
      99: Unknown type, indicating that the path type is not recognized. This type can be used for error handling or fallback scenarios.
  • Method Details

    • values

      public static Constants.MultipathType[] 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

      public static Constants.MultipathType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
    • fromInt

      public static Constants.MultipathType fromInt(int v)