BluetoothLEAdvertisementWatcher.Stopped BluetoothLEAdvertisementWatcher.Stopped BluetoothLEAdvertisementWatcher.Stopped BluetoothLEAdvertisementWatcher.Stopped BluetoothLEAdvertisementWatcher.Stopped Event

Definition

Notification to the app that the Bluetooth LE scanning for advertisements has been cancelled or aborted either by the app or due to an error.

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

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

// Revoke with event_revoker
Stopped_revoker Stopped(auto_revoke_t, TypedEventHandler<BluetoothLEAdvertisementWatcher, BluetoothLEAdvertisementWatcherStoppedEventArgs> const& handler) const;
public event TypedEventHandler<BluetoothLEAdvertisementWatcher, BluetoothLEAdvertisementWatcherStoppedEventArgs> Stopped
Public Event Stopped As TypedEventHandler (Of BluetoothLEAdvertisementWatcher, BluetoothLEAdvertisementWatcherStoppedEventArgs)
function onStopped(eventArgs){/* Your code */}


bluetoothleAdvertisementWatcher.addEventListener("stopped", onStopped);
bluetoothleAdvertisementWatcher.removeEventListener("stopped", onStopped);

See also