Package 

Class Block

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class Block
    extends StyledElement
                        

    Represents a single timed-text element.

    • Method Summary

      Modifier and Type Method Description
      void setBeginTime(int beginTime) Deprecated.
      void setEndTime(int endTime) Deprecated.
      long getBeginTimeLong() The starting time of the element in milliseconds.
      long getEndTimeLong() The ending time of the element in milliseconds.
      String getRegion() The region name for this timed-text element.
      void setRegion(String region) The region name for this timed-text element.
      • Methods inherited from class com.brightcove.player.model.StyledElement

        getBackgroundColor, getColor, getFontFamily, getFontSize, getFontStyle, getFontWeight, getStyleName, getTextAlign, getTextDecoration, setBackgroundColor, setColor, setFontFamily, setFontSize, setFontStyle, setFontWeight, setStyleName, setTextAlign, setTextDecoration
      • Methods inherited from class com.brightcove.player.model.Element

        getID, setID
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getBeginTimeLong

         long getBeginTimeLong()

        The starting time of the element in milliseconds.

      • getEndTimeLong

         long getEndTimeLong()

        The ending time of the element in milliseconds.

      • getRegion

         String getRegion()

        The region name for this timed-text element.

      • setRegion

         void setRegion(String region)

        The region name for this timed-text element.

        Parameters:
        region - the name of the Region