-api-id | -api-type | ms.custom |
---|---|---|
E:Windows.Media.Miracast.MiracastReceiverSession.Disconnected |
winrt event |
19H1 |
An event which is raised when a MiracastReceiverConnection has been disconnected by the Miracast Transmitter.
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.