BluetoothLEAdvertisementWatcher.Received BluetoothLEAdvertisementWatcher.Received BluetoothLEAdvertisementWatcher.Received BluetoothLEAdvertisementWatcher.Received BluetoothLEAdvertisementWatcher.Received Event

Definition

Notification for new Bluetooth LE advertisement events received.

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

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

// Revoke with event_revoker
Received_revoker Received(auto_revoke_t, TypedEventHandler<BluetoothLEAdvertisementWatcher, BluetoothLEAdvertisementReceivedEventArgs> const& handler) const;
public event TypedEventHandler<BluetoothLEAdvertisementWatcher, BluetoothLEAdvertisementReceivedEventArgs> Received
Public Event Received As TypedEventHandler (Of BluetoothLEAdvertisementWatcher, BluetoothLEAdvertisementReceivedEventArgs)
function onReceived(eventArgs){/* Your code */}


bluetoothleAdvertisementWatcher.addEventListener("received", onReceived);
bluetoothleAdvertisementWatcher.removeEventListener("received", onReceived);

See also