Share via


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 ref class MediaBreakSeekedOverEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaBreakSeekedOverEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaBreakSeekedOverEventArgs
Public NotInheritable Class MediaBreakSeekedOverEventArgs
Inheritance
Object Platform::Object IInspectable MediaBreakSeekedOverEventArgs
Attributes

Windows requirements

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

Remarks

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

Properties

NewPosition

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

OldPosition

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

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.

Applies to