MediaStreamSourceSwitchStreamsRequestedEventArgs 类

定义

public ref class MediaStreamSourceSwitchStreamsRequestedEventArgs 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 MediaStreamSourceSwitchStreamsRequestedEventArgs 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 MediaStreamSourceSwitchStreamsRequestedEventArgs
Public NotInheritable Class MediaStreamSourceSwitchStreamsRequestedEventArgs
继承
Object Platform::Object IInspectable MediaStreamSourceSwitchStreamsRequestedEventArgs
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

此对象不是直接实例化的,它是由 MediaStreamSource.SwitchStreamsRequested 事件创建的。

有关在 UWP 应用中使用媒体流源的示例,请参阅 MediaStreamSource 示例

属性

Request

获取表示切换流的请求的 对象。

适用于

另请参阅