Compartilhar via


BluetoothLEAdvertisementWatcher.Stopped Evento

Definição

Notificação para o aplicativo de que a verificação de Bluetooth LE para anúncios foi cancelada ou anulada pelo aplicativo ou devido a um erro.

// 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 de evento

Requisitos do Windows

Funcionalidades do aplicativo
bluetooth

Aplica-se a

Confira também