public interface Track extends InterchangeObject
Specifies a single track in a package. A track describes the relationship between essence and time. In a material package, tracks describe the desired relationship between stored essence and the output timeline.
| Modifier and Type | Method and Description |
|---|---|
Track |
clone()
Create a cloned copy of this track.
|
DataDefinition |
getDataDefinition()
Returns the data definition describing the type
of essence represented by the value of this track.
|
int |
getEssenceTrackNumber()
Returns the physical output channel associated with this track.
|
int |
getTrackID()
Returns the track id of this track, which specifies an integer that is used to
reference this track.
|
String |
getTrackName()
Returns the name of this track.
|
Segment |
getTrackSegment()
Returns the segment of this track, which is the value of the track.
|
void |
setEssenceTrackNumber(Integer essenceTrackNumber)
Sets the physical output channel associated with this track.
|
void |
setTrackID(int trackID)
This method will set the track id of this track, which specifies an integer that
is used to reference this track.
|
void |
setTrackName(String name)
Sets the name of this track.
|
void |
setTrackSegment(Segment segment)
Sets the segment for this track, which is the value of the track.
|
addApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexvoid setTrackName(@AAFString String name)
Sets the name of this track. Set this optional property to null
to omit it.
name - Name of this track.@AAFString String getTrackName() throws PropertyNotPresentException
Returns the name of this track. This is an optional property.
PropertyNotPresentException - The optional name property is not present
for this track.void setEssenceTrackNumber(@UInt32 Integer essenceTrackNumber) throws IllegalArgumentException
Sets the physical output channel associated with this track. Set this
optional property to null to omit it.
The essence track number identifies the physical channel associated with the media. For file source packages that describe stereo audio media, the left channel should have a essence track number of 1 and the right channel should have a essence track number of 2.
essenceTrackNumber - The physical output channel associated with this track.IllegalArgumentException - The given physical track number is negative.@UInt32 int getEssenceTrackNumber() throws PropertyNotPresentException
Returns the physical output channel associated with this track. This is an optional property.
The essence track number identifies the physical channel associated with the media. For file source packages that describe stereo audio media, the left channel should have an essence track number of 1 and the right channel should have a essnece track number of 2.
PropertyNotPresentException - The track is not a physical track.void setTrackID(@TrackID int trackID) throws IllegalArgumentException
This method will set the track id of this track, which specifies an integer that is used to reference this track.
trackID - Track id for this track.IllegalArgumentException - The given track id is negative.TrackExistsException@TrackID int getTrackID()
Returns the track id of this track, which specifies an integer that is used to reference this track.
void setTrackSegment(Segment segment) throws NullPointerException
Sets the segment for this track, which is the value of the track.
segment - Segment representing the value for this track.NullPointerException - The given segment is null.Segment getTrackSegment()
Returns the segment of this track, which is the value of the track.
TypeDefinitions.SegmentStrongReferenceDataDefinition getDataDefinition()
Returns the data definition describing the type of essence represented by the value of this track.
DataDefinition,
DataDefinitionConstant,
getTrackSegment(),
Component.getComponentDataDefinition()Track clone()
Create a cloned copy of this track.
clone in interface InterchangeObjectclone in interface MediaEntity(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.