Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.19 KB

miracastreceiversession_disconnected.md

File metadata and controls

30 lines (18 loc) · 1.19 KB
-api-id -api-type ms.custom
E:Windows.Media.Miracast.MiracastReceiverSession.Disconnected
winrt event
19H1

Windows.Media.Miracast.MiracastReceiverSession.Disconnected

-description

An event which is raised when a MiracastReceiverConnection has been disconnected by the Miracast Transmitter.

-remarks

The app must subscribe to this event before invoking the MiracastReceiverSession.Start or MiracastReceiverSession.StartAsync method.

The event is not raised if the app itself requested the connection to be disconnected, for example, by invoking the Disconnect method.

Apps should check the MiracastReceiverDisconnectedEventArgs.Connection property to determine which connection was disconnected as a MiracastReceiverSession can handle multiple connections.

-see-also

MiracastReceiverConnection

-examples