Dela via


AdaptiveMediaSourceCorrelatedTimes Class

Definition

Represents time stamps that are correlated between the playback position of the media player with time stamps embedded in the media stream or included in the manifest file.

public ref class AdaptiveMediaSourceCorrelatedTimes sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AdaptiveMediaSourceCorrelatedTimes final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AdaptiveMediaSourceCorrelatedTimes
Public NotInheritable Class AdaptiveMediaSourceCorrelatedTimes
Inheritance
Object Platform::Object IInspectable AdaptiveMediaSourceCorrelatedTimes
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

Get an instance of this class by calling AdaptiveMediaSource.GetCorrelatedTimes. Depending on the current state of the system and the media, any of these three values may be null at any given time.

Properties

Position

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

PresentationTimeStamp

Gets a timespan representing the presentation timestamp embedded in the streaming media.

ProgramDateTime

Gets a DateTime structure representing a time specified in the manifest file for the streaming media.

Applies to