InitializeMediaStreamSourceRequestedEventArgs 类

定义

提供 InitializeMediaStreamSourceRequested 事件的数据。

public ref class InitializeMediaStreamSourceRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class InitializeMediaStreamSourceRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class InitializeMediaStreamSourceRequestedEventArgs
Public NotInheritable Class InitializeMediaStreamSourceRequestedEventArgs
继承
Object Platform::Object IInspectable InitializeMediaStreamSourceRequestedEventArgs
属性

Windows 要求

设备系列
Windows 10 Fall Creators Update (在 10.0.16299.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v5.0 中引入)

注解

通过注册 InitializeMediaStreamSourceRequested 事件的处理程序来获取此类的实例。

属性

RandomAccessStream

获取与媒体流源请求关联的 IRandomAccessStream

Source

获取应用服务应初始化的未初始化 MediaStreamSource 对象,该对象用于向请求的应用提供示例。

方法

GetDeferral()

获取一个 Deferral 对象,该对象指示系统在继续处理请求之前等待应用服务完成媒体源流初始化。

适用于

另请参阅