इसके माध्यम से साझा किया गया


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);
 MediaBreak(MediaBreakInsertionMethod const& insertionMethod);
public MediaBreak(MediaBreakInsertionMethod insertionMethod);
function MediaBreak(insertionMethod)
Public Sub New (insertionMethod As MediaBreakInsertionMethod)

Parameters

insertionMethod
MediaBreakInsertionMethod

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

See also

Applies to

MediaBreak(MediaBreakInsertionMethod, TimeSpan)

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

public:
 MediaBreak(MediaBreakInsertionMethod insertionMethod, TimeSpan presentationPosition);
 MediaBreak(MediaBreakInsertionMethod const& insertionMethod, TimeSpan const& presentationPosition);
public MediaBreak(MediaBreakInsertionMethod insertionMethod, System.TimeSpan presentationPosition);
function MediaBreak(insertionMethod, presentationPosition)
Public Sub New (insertionMethod As MediaBreakInsertionMethod, presentationPosition As TimeSpan)

Parameters

insertionMethod
MediaBreakInsertionMethod

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

presentationPosition
TimeSpan TimeSpan

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

See also

Applies to