public static class SegmentIndexBox.Entry
extends java.lang.Object
| Constructor and Description |
|---|
Entry() |
Entry(int referenceType,
int referencedSize,
long subsegmentDuration,
boolean startsWithSap,
int sapType,
int sapDeltaTime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getReferencedSize() |
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
|
int |
getSapDeltaTime() |
byte |
getSapType() |
byte |
getStartsWithSap() |
long |
getSubsegmentDuration() |
int |
hashCode() |
void |
setReferencedSize(int referencedSize) |
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
|
void |
setSapDeltaTime(int sapDeltaTime) |
void |
setSapType(byte sapType) |
void |
setStartsWithSap(byte startsWithSap) |
void |
setSubsegmentDuration(long subsegmentDuration) |
java.lang.String |
toString() |
public Entry()
public Entry(int referenceType,
int referencedSize,
long subsegmentDuration,
boolean startsWithSap,
int sapType,
int sapDeltaTime)
public byte getReferenceType()
public void setReferenceType(byte referenceType)
referenceType - the new reference typepublic int getReferencedSize()
public void setReferencedSize(int referencedSize)
public long getSubsegmentDuration()
public void setSubsegmentDuration(long subsegmentDuration)
public byte getStartsWithSap()
public void setStartsWithSap(byte startsWithSap)
public byte getSapType()
public void setSapType(byte sapType)
public int getSapDeltaTime()
public void setSapDeltaTime(int sapDeltaTime)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2020. All rights reserved.