Enum Class GatheringState

java.lang.Object
java.lang.Enum<GatheringState>
tel.schich.libdatachannel.GatheringState
All Implemented Interfaces:
Serializable, Comparable<GatheringState>, Constable

public enum GatheringState extends Enum<GatheringState>
The gathering state of a PeerConnection.
  • Enum Constant Details

    • RTC_GATHERING_INPROGRESS

      public static final GatheringState RTC_GATHERING_INPROGRESS
    • RTC_GATHERING_COMPLETE

      public static final GatheringState RTC_GATHERING_COMPLETE
  • Method Details

    • values

      public static GatheringState[] 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 GatheringState 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