Specifies an alternate movie to play in case the primary movie cannot be played for some reason.
An alternate event can only be specified for a Play Event. If not provided, the event's
altMarkIn will default to the clip's markin from the database.
Namespace:
GrassValley.Mseries.ScheduleEditorAssembly: GrassValley.Mseries.ScheduleEditor (in GrassValley.Mseries.ScheduleEditor.dll) Version: 1.0.0.0
Syntax
C# |
---|
public void SetAlternateEvent( string eventId, string altUri, Object altMarkIn, bool isMarkInAbsolute ) |
Visual Basic (Declaration) |
---|
Public Sub SetAlternateEvent ( _ eventId As String, _ altUri As String, _ altMarkIn As Object, _ isMarkInAbsolute As Boolean _ ) |
Visual C++ |
---|
public: virtual void SetAlternateEvent( String^ eventId, String^ altUri, Object^ altMarkIn, bool isMarkInAbsolute ) sealed |
Parameters
- eventId
- Type: System..::.String
The event id.
- altUri
- Type: System..::.String
The alternate clip's URI. IE: "edl/cmf//local/V:/default/Clip2"
- altMarkIn
- Type: System..::.Object
The mark in. Provided in "HH:MM:SS:FF" or int fields format. If not provided, will resolve to clip's mark in from retrieve from the database.
- isMarkInAbsolute
- Type: System..::.Boolean
If set to true [mark in is an absolute timecode].
Implements
IScheduleEditor..::.SetAlternateEvent(String, String, Object, Boolean)Remarks
This function will generate a list change notice of type NoticeUpdateEvent.
Examples
CopyC#
//Call helper function CreateIScheduleEditor which creates editor object IScheduleEditor schEditor = CreateIScheduleEditor(); string eventID = "some event ID..."; string altUri = "edl/cmf//local/C:/default/Clip"; string markIn = "00:00:00;00"; // can be in fields or string bool absoluteMarkIn = false; schEditor.SetAlternateEvent(eventID, altUri, markIn, absoluteMarkIn);