Class RealTimeText

    • Constructor Detail

      • RealTimeText

        public RealTimeText​(RealTimeText.Event event,
                            Collection<RealTimeText.Action> actions,
                            int sequence,
                            String id)
        Creates a <rtt/> element.
        Parameters:
        event - The event.
        actions - The actions.
        sequence - The sequence number.
        id - The id (optional).
    • Method Detail

      • getEvent

        public final RealTimeText.Event getEvent()
        Gets the event.

        This attribute signals events for real-time text. If the 'event' attribute is omitted, event="edit" is assumed as the default.

        Returns:
        The event.
        See Also:
        4.2.2 event
      • getSequence

        public final Integer getSequence()
        Gets the sequence.
        Returns:
        The sequence.
        See Also:
        4.2.1 seq
      • getId

        public final String getId()
        Gets the id.
        Returns:
        The id.
        See Also:
        4.2.3 id