Package 

Class LengthVtt

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class LengthVtt
    extends Length
                        

    Provides the representation of varying forms of length measure per the WebVTT1 specification.

    • Constructor Summary

      Constructors 
      Constructor Description
      LengthVtt(String expression) Initializes a Length object by parsing the given expression.
      LengthVtt(double value, StyledElement.Unit unit) Initializes a Length object using the given numeric value and Unit specification.
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class com.brightcove.player.model.Length

        equals, getUnit, getValue, hashCode
      • Methods inherited from class java.lang.Object

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

      • LengthVtt

        LengthVtt(String expression)
        Initializes a Length object by parsing the given expression.
        Parameters:
        expression - the string expression to parse
      • LengthVtt

        LengthVtt(double value, StyledElement.Unit unit)
        Initializes a Length object using the given numeric value and Unit specification.
        Parameters:
        value - the numeric value of the length
        unit - the units for the length value