MiracastReceiverConnectionCreatedEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |