MediaEvent Methods |
The MediaEvent type exposes the following members.
Name | Description | |
---|---|---|
![]() | adjustForAbsoluteDuration | |
![]() | adjustRelativeToDuration |
Translates percentual values set via setStartPoint to actual time intervals in seconds, relative to a specified total duration.
|
![]() | 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.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | 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
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | incrementStartAndEndPointsWithInterval |
Shifts air-time for an overlay by a defined amount of time.
|
![]() | 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.
|
![]() | onPreload |
This method will be invoked on a different thread by the player,
before the event start point, as set by the preTriggerInterval field.
|
![]() | onTrigger |
This code will be executed once the event is triggered by the player.
|
![]() | onUnload |
This method will be invoked by the player once the event has reached
the end point and will be deallocated.
|
![]() | onUpdate |
This method will be invoked by the player periodically, giving the event
the opportunity to respond to updated playback information.
|
![]() | preload | |
![]() | setEndPoint |
Sets the ending time point of the overlay.
|
![]() | setStartPoint |
Sets the starting time point of the overlay.
|
![]() | 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.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | trigger | |
![]() | unload | |
![]() | updateState |
Update the event state
|