MediaStreamSample.Duration Property

Definition

Gets the duration of the sample.

public:
 property TimeSpan Duration { TimeSpan get(); void set(TimeSpan value); };
TimeSpan Duration();

void Duration(TimeSpan value);
public System.TimeSpan Duration { get; set; }
var timeSpan = mediaStreamSample.duration;
mediaStreamSample.duration = timeSpan;
Public Property Duration As TimeSpan

Property Value

The duration of the sample.

Applies to