Share via


MediaBreak Constructors

Definition

Overloads

MediaBreak(MediaBreakInsertionMethod)

Initializes a new instance of the MediaBreak class with the specified insertion method.

MediaBreak(MediaBreakInsertionMethod, TimeSpan)

Initializes a new instance of the MediaBreak class with the specified insertion method and presentation position.

MediaBreak(MediaBreakInsertionMethod)

Initializes a new instance of the MediaBreak class with the specified insertion method.

public MediaBreak(MediaBreakInsertionMethod insertionMethod);

Parameters

insertionMethod
MediaBreakInsertionMethod

A value indicating whether the media break will pause the currently playing media content.

See also

Applies to

WinRT Build 26100 and other versions
Product Versions
WinRT Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

MediaBreak(MediaBreakInsertionMethod, TimeSpan)

Initializes a new instance of the MediaBreak class with the specified insertion method and presentation position.

public MediaBreak(MediaBreakInsertionMethod insertionMethod, System.TimeSpan presentationPosition);

Parameters

insertionMethod
MediaBreakInsertionMethod

A value indicating whether the media break will pause the currently playing media content.

presentationPosition
TimeSpan

The position within the playback of a MediaPlaybackItem at which the MediaBreak will be played.

See also

Applies to

WinRT Build 26100 and other versions
Product Versions
WinRT Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100