MiracastReceiver.StatusChanged Event
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.
An event that is raised when the status of the MiracastReceiver has changed.
// Register
event_token StatusChanged(TypedEventHandler<MiracastReceiver, IInspectable const&> const& handler) const;
// Revoke with event_token
void StatusChanged(event_token const* cookie) const;
// Revoke with event_revoker
MiracastReceiver::StatusChanged_revoker StatusChanged(auto_revoke_t, TypedEventHandler<MiracastReceiver, IInspectable const&> const& handler) const;
public event TypedEventHandler<MiracastReceiver,object> StatusChanged;
function onStatusChanged(eventArgs) { /* Your code */ }
miracastReceiver.addEventListener("statuschanged", onStatusChanged);
miracastReceiver.removeEventListener("statuschanged", onStatusChanged);
- or -
miracastReceiver.onstatuschanged = onStatusChanged;
Public Custom Event StatusChanged As TypedEventHandler(Of MiracastReceiver, Object)
Event Type
TypedEventHandler<MiracastReceiver,IInspectable>
Remarks
Use GetStatus or GetStatusAsync to retrieve the latest status.