MediaPlayer.PlaybackMediaMarkers 属性

定义

获取媒体时间线标记的集合。

注意

MediaPlayer.PlaybackMediaMarkers 在Windows 10版本 1607 后可能会更改或不可用。 请改用 MediaPlaybackItem.TimedMetadataTracks 来管理数据或文本提示。有关详细信息,请参阅 使用 MediaSource 播放媒体

public:
 property PlaybackMediaMarkerSequence ^ PlaybackMediaMarkers { PlaybackMediaMarkerSequence ^ get(); };
PlaybackMediaMarkerSequence PlaybackMediaMarkers();
/// [get: Windows.Foundation.Metadata.Deprecated("Use media tracks on MediaPlaybackItem instead of PlaybackMediaMarkers.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.Foundation.UniversalApiContract")]
PlaybackMediaMarkerSequence PlaybackMediaMarkers();
public PlaybackMediaMarkerSequence PlaybackMediaMarkers { get; }
public PlaybackMediaMarkerSequence PlaybackMediaMarkers { [Windows.Foundation.Metadata.Deprecated("Use media tracks on MediaPlaybackItem instead of PlaybackMediaMarkers.  For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.Foundation.UniversalApiContract")] get; }
var playbackMediaMarkerSequence = mediaPlayer.playbackMediaMarkers;
Public ReadOnly Property PlaybackMediaMarkers As PlaybackMediaMarkerSequence

属性值

媒体时间线标记的集合。

属性

适用于