Class SdpType

  • All Implemented Interfaces:
    Serializable, Enumerated

    public class SdpType
    extends Object
    implements Serializable, Enumerated
    Java class to represent the SdpType enumerated type.

    Documentation from the relevant specification:

    The SDP-Type AVP (AVP code 2036) is of type Enumerated and holds information if the SDP media component was of type SDP offer or SDP answer.

    Author:
    Open Cloud
    See Also:
    Serialized Form
    • Method Detail

      • fromInt

        public static SdpType fromInt​(int type)
      • getValue

        public int getValue()
        Description copied from interface: Enumerated
        Return the value of this instance of this enumerated type.
        Specified by:
        getValue in interface Enumerated
        Returns:
        value