Condividi tramite


BluetoothLEAdvertisementWatcher.Stopped Evento

Definizione

Notifica all'app che l'analisi Bluetooth LE per gli annunci è stata annullata o interrotta dall'app o a causa di un errore.

// Register
event_token Stopped(TypedEventHandler<BluetoothLEAdvertisementWatcher, BluetoothLEAdvertisementWatcherStoppedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
BluetoothLEAdvertisementWatcher::Stopped_revoker Stopped(auto_revoke_t, TypedEventHandler<BluetoothLEAdvertisementWatcher, BluetoothLEAdvertisementWatcherStoppedEventArgs const&> const& handler) const;
public event TypedEventHandler<BluetoothLEAdvertisementWatcher,BluetoothLEAdvertisementWatcherStoppedEventArgs> Stopped;
function onStopped(eventArgs) { /* Your code */ }
bluetoothLEAdvertisementWatcher.addEventListener("stopped", onStopped);
bluetoothLEAdvertisementWatcher.removeEventListener("stopped", onStopped);
- or -
bluetoothLEAdvertisementWatcher.onstopped = onStopped;
Public Custom Event Stopped As TypedEventHandler(Of BluetoothLEAdvertisementWatcher, BluetoothLEAdvertisementWatcherStoppedEventArgs) 

Tipo evento

Requisiti Windows

Funzionalità dell'app
bluetooth

Si applica a

Vedi anche