MediaBreakSchedule.InsertMidrollBreak(MediaBreak) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a MediaBreak to the schedule that will be played at a point during the playback of the MediaPlaybackItem with which the MediaBreakSchedule is associated.
public:
virtual void InsertMidrollBreak(MediaBreak ^ mediaBreak) = InsertMidrollBreak;
void InsertMidrollBreak(MediaBreak const& mediaBreak);
public void InsertMidrollBreak(MediaBreak mediaBreak);
function insertMidrollBreak(mediaBreak)
Public Sub InsertMidrollBreak (mediaBreak As MediaBreak)
Parameters
- mediaBreak
- MediaBreak
The MediaBreak to add to the schedule.
Remarks
Remove a midroll break by calling RemoveMidrollBreak.
Access the current list of midroll media breaks in the schedule with the MidrollBreaks property.
If you want a MediaBreak to be played before the associated MediaPlaybackItem plays, assign it to the PrerollBreak property. If you want a MediaBreak to be played after the associated MediaPlaybackItem plays, assign it to the PostrollBreak property.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin