Share via


AdaptiveMediaSourceCorrelatedTimes.Position Property

Definition

Gets a timespan representing the current playback position of the media player that is playing the content.

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)

Property Value

A timespan representing the current playback position of the media player that is playing the content.

Remarks

The position value is a snapshot made when AdaptiveMediaSource.GetCorrelatedTimes is called. So if the presentation clock is advancing, the value of this property may be slightly offset from the current presentation time.

Applies to