Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MediaStreamSourceStartingRequest.StartPosition | startPosition property

Specifies a reference to a TimeSpan object which represents a time position in the media time-line from which the application should return MediaStreamSample objects.

Syntax


var startPosition = mediaStreamSourceStartingRequest.startPosition;

Property value

Type: IReference<TimeSpan> [JavaScript/C++] | System.Nullable<TimeSpan> [.NET]

A reference that points to a TimeSpan which specifies the position in the media time-line to start sending MediaStreamSample objects. If the reference is null, the application should continue to return MediaStreamSample objects from the current position.

Remarks

If StartPosition is not null, then the TimeSpan specifies the position in the media time-line from which the application should deliver MediaStreamSamples. If the reference is null, the application is not supposed to change its position and it should then continue to return MediaStreamSamples from the current position.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

MediaStreamSourceStartingRequest

 

 

Show: