共用方式為


PlaybackMediaMarker 類別

定義

表示媒體資料流程時間行中特定位置的標記。

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
繼承
Object Platform::Object IInspectable PlaybackMediaMarker
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

建構函式

PlaybackMediaMarker(TimeSpan)

使用指定的位移,初始化 PlaybackMediaMarker 類別的新實例到媒體時間軸。

PlaybackMediaMarker(TimeSpan, String, String)

使用指定的位移,初始化 PlaybackMediaMarker 類別的新實例,並輸入字串和文字。

屬性

MediaMarkerType

取得媒體標記的類型。

Text

取得與標記相關聯的文字。

Time

取得發生標記之媒體時間軸中的位移。

適用於