SystemMediaTransportControlsTimelineProperties 类

定义

表示 SystemMediaTransportControls 的时间线属性。 将此类的实例传递给 UpdateTimelineProperties 方法以更新属性。

public ref class SystemMediaTransportControlsTimelineProperties sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SystemMediaTransportControlsTimelineProperties final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class SystemMediaTransportControlsTimelineProperties final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SystemMediaTransportControlsTimelineProperties
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class SystemMediaTransportControlsTimelineProperties
function SystemMediaTransportControlsTimelineProperties()
Public NotInheritable Class SystemMediaTransportControlsTimelineProperties
继承
Object Platform::Object IInspectable SystemMediaTransportControlsTimelineProperties
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

构造函数

SystemMediaTransportControlsTimelineProperties()

初始化 SystemMediaTransportControlsTimelineProperties 类的新实例。

属性

EndTime

获取或设置一个值,该值表示当前正在播放的媒体项的结束时间。

MaxSeekTime

获取或设置一个值,该值指示当前播放的媒体项中用户可以查找到的最近时间。

MinSeekTime

获取或设置一个值,该值指示当前播放的媒体项中用户可以查找的最早时间。

Position

获取或设置一个值,该值表示当前正在播放的媒体项中的当前播放位置。

StartTime

获取或设置一个值,该值表示当前正在播放的媒体项的开始时间。

适用于