MediaBreakSeekedOverEventArgs MediaBreakSeekedOverEventArgs MediaBreakSeekedOverEventArgs MediaBreakSeekedOverEventArgs MediaBreakSeekedOverEventArgs Class

Definition

Provides data for the MediaBreakManager.BreaksSeekedOver event, which occurs when the user seeks the media playback position past one or more pending media breaks.

public : sealed class MediaBreakSeekedOverEventArgs
struct winrt::Windows::Media::Playback::MediaBreakSeekedOverEventArgs
public sealed class MediaBreakSeekedOverEventArgs
Public NotInheritable Class MediaBreakSeekedOverEventArgs
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

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

Remarks

Get an instance of this class by handling the MediaBreakManager.BreaksSeekedOver event.

Properties

NewPosition NewPosition NewPosition NewPosition NewPosition

Gets the new current position within the MediaPlaybackItem after the seek operation has completed.

OldPosition OldPosition OldPosition OldPosition OldPosition

Gets the previous position within the MediaPlaybackItem before the seek operation started.

SeekedOverBreaks SeekedOverBreaks SeekedOverBreaks SeekedOverBreaks SeekedOverBreaks

Gets the list of MediaBreak objects that were seeked over, meaning that they were scheduled to play between the OldPosition and NewPosition of the seek operation.