MediaStreamSourceSampleRequestedEventArgs MediaStreamSourceSampleRequestedEventArgs MediaStreamSourceSampleRequestedEventArgs MediaStreamSourceSampleRequestedEventArgs Class

Definition

Provides the data for the SampleRequested event.

public : sealed class MediaStreamSourceSampleRequestedEventArgs : IMediaStreamSourceSampleRequestedEventArgs
public sealed class MediaStreamSourceSampleRequestedEventArgs : IMediaStreamSourceSampleRequestedEventArgs
Public NotInheritable Class MediaStreamSourceSampleRequestedEventArgs Implements IMediaStreamSourceSampleRequestedEventArgs
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This object is not instantiated directly, it is created by the MediaStreamSource.SampleRequest event.

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

Properties

Request Request Request Request

Gets the object that represents the request for a MediaStreamSample.

public : MediaStreamSourceSampleRequest Request { get; }
public MediaStreamSourceSampleRequest Request { get; }
Public ReadOnly Property Request As MediaStreamSourceSampleRequest
var mediaStreamSourceSampleRequest = mediaStreamSourceSampleRequestedEventArgs.request;

See Also