Class SegmentIndexBox.Entry

    • Constructor Summary

      Constructors 
      Constructor Description
      Entry()  
      Entry​(int referenceType, int referencedSize, long subsegmentDuration, boolean startsWithSap, int sapType, int sapDeltaTime)  
    • Constructor Detail

      • Entry

        public Entry()
      • Entry

        public Entry​(int referenceType,
                     int referencedSize,
                     long subsegmentDuration,
                     boolean startsWithSap,
                     int sapType,
                     int sapDeltaTime)
    • Method Detail

      • getReferenceType

        public byte getReferenceType()
        When set to 1 indicates that the reference is to a segment index ('sidx') box; otherwise the reference is to media content (e.g., in the case of files based on this specification, to a movie fragment box); if a separate index segment is used, then entries with reference t
        Returns:
        the reference type
      • setReferenceType

        public void setReferenceType​(byte referenceType)
        When set to 1 indicates that the reference is to a segment index ('sidx') box; otherwise the reference is to media content (e.g., in the case of files based on this specification, to a movie fragment box); if a separate index segment is used, then entries with reference t
        Parameters:
        referenceType - the new reference type
      • getReferencedSize

        public int getReferencedSize()
      • setReferencedSize

        public void setReferencedSize​(int referencedSize)
      • getSubsegmentDuration

        public long getSubsegmentDuration()
      • setSubsegmentDuration

        public void setSubsegmentDuration​(long subsegmentDuration)
      • getStartsWithSap

        public byte getStartsWithSap()
      • setStartsWithSap

        public void setStartsWithSap​(byte startsWithSap)
      • getSapType

        public byte getSapType()
      • setSapType

        public void setSapType​(byte sapType)
      • getSapDeltaTime

        public int getSapDeltaTime()
      • setSapDeltaTime

        public void setSapDeltaTime​(int sapDeltaTime)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object