MiracastReceiverConnectionCreatedEventArgs 类

定义

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

Windows 要求

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

注解

当事件处理程序返回或延迟完成时,新连接被视为已接受。 若要拒绝不需要的连接,请调用 MiracastReceiverConnection.Disconnect

属性

Connection

获取新创建的连接的 MiracastReceiverConnection 对象。

Pin

获取 Miracast 发送器设备必须输入的 PIN,如果未使用 PIN 身份验证,则获取空字符串。

方法

GetDeferral()

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

适用于

另请参阅