MediaStreamSourceSwitchStreamsRequest 클래스

정의

MediaStreamSource.SwitchStreamsRequest 이벤트에서 애플리케이션에 정보를 제공하는 데 사용할 개체를 나타냅니다.

public ref class MediaStreamSourceSwitchStreamsRequest sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaStreamSourceSwitchStreamsRequest final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaStreamSourceSwitchStreamsRequest
Public NotInheritable Class MediaStreamSourceSwitchStreamsRequest
상속
Object Platform::Object IInspectable MediaStreamSourceSwitchStreamsRequest
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

UWP 앱에서 미디어 스트림 원본을 사용하는 예제는 MediaStreamSource 샘플을 참조하세요.

속성

NewStreamDescriptor

MediaStreamSource에서 선택한 스트림에 대한 스트림 설명자를 가져옵니다.

OldStreamDescriptor

MediaStreamSource에서 더 이상 선택하지 않는 스트림에 대한 스트림 설명자를 가져옵니다.

메서드

GetDeferral()

MediaStreamSource.SwitchStreamsRequested 이벤트 완료를 연기합니다.

적용 대상

추가 정보