Share via


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
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class MediaBreakInsertionMethod
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum MediaBreakInsertionMethod
var value = Windows.Media.Playback.MediaBreakInsertionMethod.interrupt
Public Enum MediaBreakInsertionMethod
Inheritance
MediaBreakInsertionMethod
Attributes

Windows requirements

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

Fields

Name Value Description
Interrupt 0

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

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.

Applies to