MediaUnit Methods |
The MediaUnit type exposes the following members.
Name | Description | |
---|---|---|
addEvent | ||
addOverlay |
Adds an MediaOverlay object to the unit, to be rendered together.
| |
adjustForAbsoluteDuration | (Inherited from MediaEvent.) | |
adjustRelativeToDuration |
Translates percentual values set via setStartPoint to actual time intervals in seconds, relative to a specified total duration.
(Inherited from MediaEvent.) | |
clearOverlays |
Removes all currently connected overlays.
| |
copyWithZone | ||
dynamicEvents | ||
endPoint |
The time interval (in seconds) when the player needs to remove the overlay.
Warning: If percentual values were set via setStartPoint, this value will change immediately after the current clip's duration is available.
(Inherited from MediaEvent.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
events | ||
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
getState |
Get the current event state
(Inherited from MediaEvent.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
incrementStartAndEndPointsWithInterval |
Shifts air-time for an overlay by a defined amount of time.
(Inherited from MediaEvent.) | |
initWithURL | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
needsToBeAdjustedRelativeToDuration |
Determines if an overlay has start points, end points or duration relative to the unit duration.
(Inherited from MediaEvent.) | |
onPreload | (Overrides MediaEventonPreload.) | |
onTrigger | (Overrides MediaEventonTrigger.) | |
onUnload | (Overrides MediaEventonUnload.) | |
onUpdate | (Overrides MediaEventonUpdate.) | |
overlays |
Returns an list containing all MediaOverlay objects currently connected to the unit.
| |
preload | (Inherited from MediaEvent.) | |
setEndPoint |
Sets the ending time point of the overlay.
(Inherited from MediaEvent.) | |
setEvents |
Connects an list of MediaEvent objects to the current unit (for example VastAdBreak objects)
| |
setOverlays |
Connects an list of MediaOverlay objects to the current unit.
| |
setStartPoint |
Sets the starting time point of the overlay.
(Inherited from MediaEvent.) | |
startPoint |
The time interval (in seconds) when the player needs to display the overlay.
Warning: If percentual values were set via setStartPoint, this value will change immediately after the current clip's duration is available.
(Inherited from MediaEvent.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
trigger | (Inherited from MediaEvent.) | |
unload | (Inherited from MediaEvent.) | |
updateState |
Update the event state
(Inherited from MediaEvent.) |