Bagikan melalui


BluetoothLEAdvertisementWatcher.Stopped Kejadian

Definisi

Pemberitahuan kepada aplikasi bahwa pemindaian LE Bluetooth untuk iklan telah dibatalkan atau dibatalkan baik oleh aplikasi atau karena kesalahan.

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

Jenis Acara

Persyaratan Windows

Kemampuan aplikasi
bluetooth

Berlaku untuk

Lihat juga