MediaStreamSourceSwitchStreamsRequest MediaStreamSourceSwitchStreamsRequest MediaStreamSourceSwitchStreamsRequest MediaStreamSourceSwitchStreamsRequest MediaStreamSourceSwitchStreamsRequest Class

Definition

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

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

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

Properties

NewStreamDescriptor NewStreamDescriptor NewStreamDescriptor NewStreamDescriptor NewStreamDescriptor

Gets the stream descriptor for the stream that is now selected by the MediaStreamSource.

OldStreamDescriptor OldStreamDescriptor OldStreamDescriptor OldStreamDescriptor OldStreamDescriptor

Gets the stream descriptor for the stream which is no longer selected by the MediaStreamSource.

Methods

GetDeferral() GetDeferral() GetDeferral() GetDeferral() GetDeferral()

Defers completing the MediaStreamSource.SwitchStreamsRequested event.

See Also