Share via


MiracastReceiverConnectionCreatedEventArgs Class

Definition

Provides data for the MiracastReceiverSession.ConnectionCreated event.

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
Inheritance
Object Platform::Object IInspectable MiracastReceiverConnectionCreatedEventArgs
Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Remarks

The new connection is considered accepted when the event handler returns, or when the deferral is completed. To reject an unwanted connection, invoke MiracastReceiverConnection.Disconnect.

Properties

Connection

Gets the MiracastReceiverConnection object of the newly created connection.

Pin

Getes the PIN that must be entered by the Miracast Transmitter device, or an empty string if PIN authentication is not in use.

Methods

GetDeferral()

Defers completion of the MiracastReceiverSession.ConnectionCreated event until Deferral.Complete is invoked.

Applies to

See also