Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PlaybackMediaMarker Class

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.

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
Object Platform::Object IInspectable PlaybackMediaMarker
Attributes

Windows requirements

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

Constructors

Name Description
PlaybackMediaMarker(TimeSpan, String, String)

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

PlaybackMediaMarker(TimeSpan)

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

Properties

Name Description
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


Feedback

Was this page helpful?