MediaBreakInsertionMethod MediaBreakInsertionMethod MediaBreakInsertionMethod MediaBreakInsertionMethod MediaBreakInsertionMethod Enum

Definition

Specifies the method that is used to insert the MediaBreak playback into the playback of the MediaPlaybackItem to which it belongs.

public : enum class MediaBreakInsertionMethod
enum class winrt::Windows::Media::Playback::MediaBreakInsertionMethod : int32_t
public enum MediaBreakInsertionMethod
Public Enum MediaBreakInsertionMethod
var value = Windows.Media.Playback.MediaBreakInsertionMethod.interrupt;
Attributes

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Fields

Interrupt Interrupt Interrupt Interrupt Interrupt 0

The main content is paused while the content of the MediaBreak plays.

Replace Replace Replace Replace Replace 1

The main content is not paused, but is replaced by the content of the MediaBreak.

Remarks

In a typical implementation, Interrupt is used for on-demand content so that none of the content is obscured by the media break, and Replace is used for live content so that the content doesn't accumulate a delay while pausing during the media break.