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 : IMediaStreamSourceClosedRequestpublic sealed class MediaStreamSourceClosedRequest : IMediaStreamSourceClosedRequestPublic NotInheritable Class MediaStreamSourceClosedRequest Implements IMediaStreamSourceClosedRequest// You can use this class in JavaScript.
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 Windows Store app.

Properties

Reason Reason Reason Reason

Gets the reason why the media stream source was closed.

public : MediaStreamSourceClosedReason Reason { get; }public MediaStreamSourceClosedReason Reason { get; }Public ReadOnly Property Reason As MediaStreamSourceClosedReason// You can use this property in JavaScript.

See Also