PlaybackMediaMarker Class

Definition

Represents a marker at specific location in a media stream time-line.

public ref class PlaybackMediaMarker sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Playback.IPlaybackMediaMarkerFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PlaybackMediaMarker final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Playback.IPlaybackMediaMarkerFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class PlaybackMediaMarker final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Playback.IPlaybackMediaMarkerFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PlaybackMediaMarker
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Playback.IPlaybackMediaMarkerFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class PlaybackMediaMarker
function PlaybackMediaMarker(value, mediaMarketType, text)
Public NotInheritable Class PlaybackMediaMarker
Inheritance
PlaybackMediaMarker
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Constructors

PlaybackMediaMarker(TimeSpan)

Initializes a new instance of the PlaybackMediaMarker class with the specified offset into the media timeline.

PlaybackMediaMarker(TimeSpan, String, String)

Initializes a new instance of the PlaybackMediaMarker class with the specified offset into the media timeline, type string, and text.

Properties

MediaMarkerType

Gets the type of the media marker.

Text

Gets the text associated with the marker.

Time

Gets the offset in the media timeline where the marker occurs.

Applies to