Compartir a través de


WiFiDirectServiceAdvertiser.AdvertisementStatusChanged Evento

Definición

Evento generado cuando cambia el valor de la propiedad AdvertisementStatus .

// Register
event_token AdvertisementStatusChanged(TypedEventHandler<WiFiDirectServiceAdvertiser, IInspectable const&> const& handler) const;

// Revoke with event_token
void AdvertisementStatusChanged(event_token const* cookie) const;

// Revoke with event_revoker
WiFiDirectServiceAdvertiser::AdvertisementStatusChanged_revoker AdvertisementStatusChanged(auto_revoke_t, TypedEventHandler<WiFiDirectServiceAdvertiser, IInspectable const&> const& handler) const;
public event TypedEventHandler<WiFiDirectServiceAdvertiser,object> AdvertisementStatusChanged;
function onAdvertisementStatusChanged(eventArgs) { /* Your code */ }
wiFiDirectServiceAdvertiser.addEventListener("advertisementstatuschanged", onAdvertisementStatusChanged);
wiFiDirectServiceAdvertiser.removeEventListener("advertisementstatuschanged", onAdvertisementStatusChanged);
- or -
wiFiDirectServiceAdvertiser.onadvertisementstatuschanged = onAdvertisementStatusChanged;
Public Custom Event AdvertisementStatusChanged As TypedEventHandler(Of WiFiDirectServiceAdvertiser, Object) 

Tipo de evento

Se aplica a