MediaPlaybackItem.BreakSchedule Property

Definition

Gets the MediaBreakSchedule defining the schedule of media breaks for the MediaPlaybackItem.

public:
 property MediaBreakSchedule ^ BreakSchedule { MediaBreakSchedule ^ get(); };
MediaBreakSchedule BreakSchedule();
public MediaBreakSchedule BreakSchedule { get; }
var mediaBreakSchedule = mediaPlaybackItem.breakSchedule;
Public ReadOnly Property BreakSchedule As MediaBreakSchedule

Property Value

The MediaBreakSchedule defining the schedule of media breaks for the MediaPlaybackItem.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

The MediaBreakSchedule object allows you to specify MediaBreak objects that should be played before the MediaPlaybackItem is played, after the item is played, or at scheduled positions within the item's playback.

For how-to guidance for working with media breaks, see Create, schedule, and manage media breaks.

Applies to

See also