MiracastReceiverMediaSourceCreatedEventArgs 类

定义

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

Windows 要求

设备系列
Windows 10, version 1903 (在 10.0.18362.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v8.0 中引入)

注解

如果连接保持连接,则会在 MediaReceiverSession.ConnectionCreated 事件之后引发此事件。

属性

Connection

返回关联连接的 MiracastReceiverConnection 对象。

CursorImageChannelSettings

返回一个 对象,用于配置可选游标图像通道的设置。

MediaSource

返回一个 MediaSource 对象,用于播放 Miracast 发送器发送的音频和视频数据。

方法

GetDeferral()

延迟 MiracastReceiverSession.MediaSourceCreated 事件的完成,直到调用 Deferral.Complete。

适用于

另请参阅