Compartir a través de


MiracastReceiver.StatusChanged Evento

Definición

Evento que se genera cuando ha cambiado el estado de MiracastReceiver .

// 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) 

Tipo de evento

Comentarios

Use GetStatus o GetStatusAsync para recuperar el estado más reciente.

Se aplica a

Consulte también