Class Block

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BrightcoveClosedCaption

public class Block extends StyledElement
Represents a single timed-text element.
See Also:
  • Field Details

    • beginTime

      @Deprecated protected Integer beginTime
      Deprecated.
    • endTime

      @Deprecated protected Integer endTime
      Deprecated.
    • beginTimeLong

      protected long beginTimeLong
    • endTimeLong

      protected long endTimeLong
    • region

      protected String region
  • Constructor Details

    • Block

      public Block()
  • Method Details

    • getBeginTime

      @Deprecated public int getBeginTime()
      Deprecated.
      Deprecated. Instead use {getBeginTimeLong()}
    • getBeginTimeLong

      public long getBeginTimeLong()
      The starting time of the element in milliseconds.
      Returns:
      the starting time in milliseconds
    • setBeginTime

      @Deprecated public void setBeginTime(int beginTime)
      Deprecated.
      Deprecated. Instead use {setBeginTime(long)}
    • setBeginTime

      public void setBeginTime(long beginTime)
      The starting time of the element in milliseconds.
      Parameters:
      beginTime - the starting time in milliseconds
    • getEndTime

      @Deprecated public int getEndTime()
      Deprecated.
      Deprecated. Instead use {getBeginTimeLong()}
    • getEndTimeLong

      public long getEndTimeLong()
      The ending time of the element in milliseconds.
      Returns:
      the ending time in milliseconds
    • setEndTime

      @Deprecated public void setEndTime(int endTime)
      Deprecated.
      Deprecated. Instead use {setEndTime(long)}
    • setEndTime

      public void setEndTime(long endTime)
      The ending time of the element in milliseconds.
      Parameters:
      endTime - the ending time in milliseconds
    • getRegion

      public String getRegion()
      The region name for this timed-text element.
      Returns:
      the name of the Region
    • setRegion

      public void setRegion(String region)
      The region name for this timed-text element.
      Parameters:
      region - the name of the Region