MediaStreamSourceClosedRequest MediaStreamSourceClosedRequest MediaStreamSourceClosedRequest MediaStreamSourceClosedRequest MediaStreamSourceClosedRequest Class

Definition

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

public : sealed class MediaStreamSourceClosedRequest
struct winrt::Windows::Media::Core::MediaStreamSourceClosedRequest
public sealed class MediaStreamSourceClosedRequest
Public NotInheritable Class MediaStreamSourceClosedRequest
// 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

The Reason property provides information regrading why the MediaStreamSource was closed.

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

Properties

Reason Reason Reason Reason Reason

Gets the reason why the media stream source was closed.

See also