MediaStreamSample.Duration | duration property

Applies to Windows and Windows Phone

Gets the duration of the sample.

Syntax


var duration = mediaStreamSample.duration;
mediaStreamSample.duration = duration;

Property value

Type: Number [JavaScript] | System.TimeSpan [.NET] | Windows::Foundation::TimeSpan [C++]

The duration of the sample.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media.Core
Windows::Media::Core [C++]

Metadata

Windows.winmd

See also

MediaStreamSample

 

 

Show:
© 2014 Microsoft