Enum Class Track.Direction

java.lang.Object
java.lang.Enum<Track.Direction>
tel.schich.libdatachannel.Track.Direction
All Implemented Interfaces:
Serializable, Comparable<Track.Direction>, Constable
Enclosing class:
Track

public static enum Track.Direction extends Enum<Track.Direction>
  • Enum Constant Details

    • RTC_DIRECTION_UNKNOWN

      public static final Track.Direction RTC_DIRECTION_UNKNOWN
    • RTC_DIRECTION_SENDONLY

      public static final Track.Direction RTC_DIRECTION_SENDONLY
    • RTC_DIRECTION_RECVONLY

      public static final Track.Direction RTC_DIRECTION_RECVONLY
    • RTC_DIRECTION_SENDRECV

      public static final Track.Direction RTC_DIRECTION_SENDRECV
    • RTC_DIRECTION_INACTIVE

      public static final Track.Direction RTC_DIRECTION_INACTIVE
  • Field Details

  • Method Details

    • values

      public static Track.Direction[] 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 Track.Direction 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
    • of

      public static @Nullable Track.Direction of(int direction)