EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

MediaStreamSourceSampleRequest.ReportSampleProgress | reportSampleProgress method

Applies to Windows and Windows Phone

Provides a status update to the MediaStreamSource while the application is temporarily unable to deliver a requested MediaStreamSample.

Syntax


mediaStreamSourceSampleRequest.reportSampleProgress(progress);

Parameters

progress

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

A value between 0 to 100 that indicates the progress towards being able to deliver the requested MediaStreamSample.

Remarks

The application should invoke this method when it is unable to immediately to deliver the MediaStreamSample, which is accomplished by assigning it to the Sample property. The application should continue to invoke ReportSampleProgress on a regular basis until it is able to deliver the requested MediaStreamSample.

The recommended interval between each invocation of ReportSampleProgress is 500 milliseconds.

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

MediaStreamSourceSampleRequest

 

 

表示:
© 2014 Microsoft