Class SegmentIndexBox.Entry
- java.lang.Object
-
- org.mp4parser.boxes.iso14496.part12.SegmentIndexBox.Entry
-
- Enclosing class:
- SegmentIndexBox
public static class SegmentIndexBox.Entry extends Object
-
-
Method Summary
Modifier and Type Method Description booleanequals(Object o)intgetReferencedSize()bytegetReferenceType()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 tintgetSapDeltaTime()bytegetSapType()bytegetStartsWithSap()longgetSubsegmentDuration()inthashCode()voidsetReferencedSize(int referencedSize)voidsetReferenceType(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 tvoidsetSapDeltaTime(int sapDeltaTime)voidsetSapType(byte sapType)voidsetStartsWithSap(byte startsWithSap)voidsetSubsegmentDuration(long subsegmentDuration)StringtoString()
-
-
-
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)
-
-