Dela via


MediaBreakSchedule.PrerollBreak Property

Definition

Gets or sets the MediaBreak to be played before the MediaPlaybackItem associated with the MediaBreakSchedule plays.

public:
 property MediaBreak ^ PrerollBreak { MediaBreak ^ get(); void set(MediaBreak ^ value); };
MediaBreak PrerollBreak();

void PrerollBreak(MediaBreak value);
public MediaBreak PrerollBreak { get; set; }
var mediaBreak = mediaBreakSchedule.prerollBreak;
mediaBreakSchedule.prerollBreak = mediaBreak;
Public Property PrerollBreak As MediaBreak

Property Value

The MediaBreak to be played before the MediaPlaybackItem associated with the MediaBreakSchedule plays.

Remarks

If you want a MediaBreak to be played after the associated MediaPlaybackItem plays, assign it to the PostrollBreak property. If you want a MediaBreak to play at a point during the playback of the associated MediaPlaybackItem, use the InsertMidrollBreak method.

Applies to