MediaStreamSourceSampleRequest MediaStreamSourceSampleRequest MediaStreamSourceSampleRequest MediaStreamSourceSampleRequest Class

Represents an object to be used by the SampleRequested event to provide information to the application.

Syntax

Declaration

public sealed class MediaStreamSourceSampleRequestpublic sealed class MediaStreamSourceSampleRequestPublic NotInheritable Class MediaStreamSourceSampleRequestpublic sealed class MediaStreamSourceSampleRequest

Remarks

See the MediaStreamSource Sample for an example of using Media Stream Source in a Windows Store app.

Properties summary

Sets the MediaStreamSample requested by the MediaStreamSource. Applications deliver a MediaStreamSample to the MediaStreamSource by assigning a value to this property.

Gets the IMediaStreamDescriptor interface of the stream for which a MediaStreamSample is being requested.

Methods summary

Defers assigning a MediaStreamSample to MediaStreamSourceSampleRequest object.

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

Properties

Methods

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.Media.Core.dll