AdaptiveMediaSourceCorrelatedTimes.Position 属性

定义

获取一个时间跨度,表示正在播放内容的媒体播放器的当前播放位置。

public:
 property IReference<TimeSpan> ^ Position { IReference<TimeSpan> ^ get(); };
IReference<TimeSpan> Position();
public System.Nullable<System.TimeSpan> Position { get; }
var iReference = adaptiveMediaSourceCorrelatedTimes.position;
Public ReadOnly Property Position As Nullable(Of TimeSpan)

属性值

一个时间跨度,表示正在播放内容的媒体播放器的当前播放位置。

注解

位置值是调用 AdaptiveMediaSource.GetCorrelatedTimes 时快照。 因此,如果演示时钟正在前进,则此属性的值可能与当前呈现时间略有偏移。

适用于