MediaBreak Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The position within the playback of a MediaPlaybackItem at which the MediaBreak will be played.