|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MobSlot
Specifies a single track in a mob. A track describes the relationship between essence and time. In a master mob, mob slots describe the desired relationship between stored essence and the output timeline.
Mob.appendSlot(MobSlot)
,
Mob.getSlots()
,
Mob.lookupSlot(int)
Method Summary | |
---|---|
DataDefinition |
getDataDefinition()
Returns the data definition describing the type of essence represented by the value of this mob slot. |
String |
getName()
Returns the name of this mob slot. |
int |
getPhysicalNumber()
Returns the physical output channel associated with this mob slot. |
Segment |
getSegment()
Returns the segment of this mob slot, which is the value of the slot. |
int |
getSlotID()
Returns the slot id of this mob slot, which specifies an integer that is used to reference this mob slot. |
void |
setName(String name)
Sets the name of this mob slot. |
void |
setPhysicalNumber(Integer physicalTrackNumber)
Sets the physical output channel associated with this mob slot. |
void |
setSegment(Segment segment)
Sets the segment for this mob slot, which is the value of the slot. |
void |
setSlotID(int slotId)
This method will set the slot id of this mob slot, which specifies an integer that is used to reference this mob slot. |
Methods inherited from interface tv.amwa.maj.iface.InterchangeObject |
---|
countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, setPropertyValue |
Method Detail |
---|
void setName(@AAFString String name)
Sets the name of this mob slot. Set this optional property to null
to omit it.
name
- Name of this mob slot.@AAFString String getName() throws PropertyNotPresentException
Returns the name of this mob slot. This is an optional property.
PropertyNotPresentException
- The optional name property is not present
for this mob slot.void setPhysicalNumber(@UInt32 Integer physicalTrackNumber) throws IllegalArgumentException
Sets the physical output channel associated with this mob slot. Set this
optional property to null
to omit it.
The physical track number identifies the physical channel associated with the media. For file source mobs that describe stereo audio media, the left channel should have a physical slot number of 1 and the right channel should have a physical slot of 2.
physicalTrackNumber
- Physical track number for this mob slot.
IllegalArgumentException
- The given physical track number is negative.@UInt32 int getPhysicalNumber() throws PropertyNotPresentException
Returns the physical output channel associated with this mob slot. This is an optional property.
The physical track number identifies the physical channel associated with the media. For file source mobs that describe stereo audio media, the left channel should have a physical slot number of 1 and the right channel should have a physical slot of 2.
PropertyNotPresentException
- The mob slot is not a physical slot.void setSlotID(@SlotID int slotId) throws IllegalArgumentException
This method will set the slot id of this mob slot, which specifies an integer that is used to reference this mob slot.
slotId
- Slot id for this mob slot.
IllegalArgumentException
- The given slot id is negative.SlotExistsException
@SlotID int getSlotID()
Returns the slot id of this mob slot, which specifies an integer that is used to reference this mob slot.
void setSegment(Segment segment) throws NullPointerException
Sets the segment for this mob slot, which is the value of the slot.
segment
- Segment representing the value for this mob slot.
NullPointerException
- The given segment is null
.Segment getSegment()
Returns the segment of this mob slot, which is the value of the slot.
DataDefinition getDataDefinition()
Returns the data definition describing the type of essence represented by the value of this mob slot.
DataDefinition
,
DataDefinitionConstant
,
getSegment()
,
Component.getDataDefinition()
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |