Class Jingle.Content

  • Enclosing class:

    public static final class Jingle.Content
    extends Object
    The implementation of the <content/> element.
    See Also:
    7.3 Content Element
    • Method Detail

      • getCreator

        public Jingle.Content.Creator getCreator()
        Gets the creator of the content.

        Which party originally generated the content type (used to prevent race conditions regarding modifications); the defined values are "initiator" and "responder" (where the default is "initiator"). The value of the 'creator' attribute for a given content type MUST always match the party that originally generated the content type, even for Jingle actions that are sent by the other party in relation to that content type (e.g., subsequent content-modify or transport-info messages). The combination of the 'creator' attribute and the 'name' attribute is unique among both parties to a Jingle session.

        The creator.
      • getDisposition

        public String getDisposition()
        Gets the content disposition.

        How the content definition is to be interpreted by the recipient. The meaning of this attribute matches the "Content-Disposition" header as defined in RFC 2183 and applied to SIP by RFC 3261. The value of this attribute SHOULD be one of the values registered in the IANA Mail Content Disposition Values and Parameters Registry. The default value of this attribute is "session".

        The disposition.
      • getName

        public String getName()
        Gets the name of the content.

        A unique name or identifier for the content type according to the creator, which MAY have meaning to a human user in order to differentiate this content type from other content types (e.g., two content types containing video media could differentiate between "room-pan" and "slides"). If there are two content types with the same value for the 'name' attribute, they shall understood as alternative definitions for the same purpose (e.g., a legacy method and a standards-based method for establishing a voice call), typically to smooth the transition from an older technology to Jingle.

        The name.
      • getSenders

        public Jingle.Content.Senders getSenders()
        Gets the senders.

        Which parties in the session will be generating content (i.e., the direction in which a Jingle session is active); the allowable values are "both", "initiator", "none", and "responder" (where the default is "both"). Note that the defined values of the 'senders' attribute in Jingle correspond to the SDP attributes of "sendrecv", "sendonly", "inactive", and "recvonly" defined in RFC 4566 and used in the offer-answer model RFC 3264.

        The senders.
      • getApplicationFormat

        public ApplicationFormat getApplicationFormat()
        Gets the application type.
        The application type.
      • getTransportMethod

        public TransportMethod getTransportMethod()
        Gets the transport method.
        The transport method.