Dela via


VideoFrame.RelativeTime Property

Definition

Gets or sets the relative time of the frame within the video stream.

public:
 property IReference<TimeSpan> ^ RelativeTime { IReference<TimeSpan> ^ get(); void set(IReference<TimeSpan> ^ value); };
IReference<TimeSpan> RelativeTime();

void RelativeTime(IReference<TimeSpan> value);
public System.Nullable<System.TimeSpan> RelativeTime { get; set; }
var iReference = videoFrame.relativeTime;
videoFrame.relativeTime = iReference;
Public Property RelativeTime As Nullable(Of TimeSpan)

Property Value

The relative time of the frame within the video stream.

Implements

Remarks

Use SystemRelativeTime to get a timestamp that is relative to the system and is correlatable across multiple media sources on the same device.

Applies to