Share via


IMediaFrame.RelativeTime Property

Definition

Gets or sets the relative time of the frame within the media 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 = iMediaFrame.relativeTime;
iMediaFrame.relativeTime = iReference;
Public Property RelativeTime As Nullable(Of TimeSpan)

Property Value

The relative time of the frame within the media stream.

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