public interface DescriptiveClip extends SourceClip
Specifies what is being described in terms of tracks and references a package to provide that description. This enables a segment in a descriptive metadata track to reference a section of descriptive metadata in the track of another package. Typically, the referenced track would contain descriptive markers.
| Modifier and Type | Method and Description |
|---|---|
void |
addDescribedTrackID(int describedTrackID)
|
void |
clearDescribedTrackIDs()
Clears the list of described track ids of this descriptive clip, omitting this
optional property.
|
DescriptiveClip |
clone()
Create a cloned copy of this descriptive clip.
|
int |
countDescribedTrackIDs()
|
Set<Integer> |
getDescribedTrackIDs()
|
boolean |
isDescribedTrackIDPresent(int describedTrackID)
|
void |
removeDescribedTrackID(int describedTrackID)
|
getFade, getFadeInLength, getFadeInType, getFadeOutLength, getFadeOutType, getSourceReference, getStartPosition, resolveRef, setFade, setFade, setSourceReference, setStartPositiongetChannelIDs, getChannelIDsSize, getMonoSourceTrackIDs, getMonoSourceTrackIDsSize, getSourcePackageID, getSourceTrackID, setChannelIDs, setMonoSourceTrackIDs, setSourcePackageID, setSourceTrackIDgenerateSequence, segmentOffsetToTC, segmentTCToOffsetappendComponentAttribute, appendComponentAttribute, appendComponentKLVData, appendComponentUserComment, appendComponentUserComment, clearComponentAttributes, clearComponentKLVData, clearComponentUserComments, countComponentAttributes, countComponentKLVData, countComponentUserComments, getComponentAttributes, getComponentDataDefinition, getComponentKLVData, getComponentLength, getComponentUserComments, getLengthPresent, removeComponentAttribute, removeComponentKLVData, removeComponentUserComment, setComponentDataDefinition, setComponentLength, setLengthPresentaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndex@TrackID int countDescribedTrackIDs()
Returns the number of described track ids in the set of described track ids referenced by this descriptive clip, which specify which of the tracks in the package are being referenced.
void clearDescribedTrackIDs()
Clears the list of described track ids of this descriptive clip, omitting this optional property.
@TrackID Set<Integer> getDescribedTrackIDs()
Returns a copy of the set of descriptive track ids referenced by this descriptive clip, which specify which of the tracks in the package are being referenced.
boolean isDescribedTrackIDPresent(@TrackID int describedTrackID)
Returns true if the given described track id is present in the
set of described track ids referenced from this descriptive clip, which specify which of the
tracks in the package are being referenced.
describedTrackID - Described track id to check to see if it is contained in the set
of described track ids of this descriptive clip.IllegalArgumentException - The given track id is negative.void addDescribedTrackID(@TrackID int describedTrackID) throws IllegalArgumentException, InvalidParameterException
Adds the given described track id to the set of described track ids referenced by this descriptive clip, which specify which of the tracks in the package are being referenced.
describedTrackID - Descriptive track id to add to the set of described track ids
referenced by this descriptive clip.IllegalArgumentException - The given track id is negative.InvalidParameterException - The given described track id is already contained
in the set of described track ids referenced by this descriptive clip.void removeDescribedTrackID(@TrackID int describedTrackID) throws InvalidParameterException
Removes the given described track id from the list of described track ids referenced by this descriptive clip, which specify which of the tracks in the package are being referenced. In effect, optional property empty sets become not present when the last element is removed.
describedTrackID - Described track id to remove from this descriptive clip.IllegalArgumentException - A given track id is negative.InvalidParameterException - The given track id is not in the set of descriptive
track ids of this descriptive clip.DescriptiveClip clone()
Create a cloned copy of this descriptive clip.
clone in interface Componentclone in interface InterchangeObjectclone in interface MediaEntityclone in interface Segmentclone in interface SourceClipclone in interface SourceReferenceSegment(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.