BluetoothLEAdvertisementPublisher.StatusChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Notification that the status of the BluetoothLEAdvertisementPublisher has changed.
// Register
event_token StatusChanged(TypedEventHandler<BluetoothLEAdvertisementPublisher, BluetoothLEAdvertisementPublisherStatusChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void StatusChanged(event_token const* cookie) const;
// Revoke with event_revoker
BluetoothLEAdvertisementPublisher::StatusChanged_revoker StatusChanged(auto_revoke_t, TypedEventHandler<BluetoothLEAdvertisementPublisher, BluetoothLEAdvertisementPublisherStatusChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<BluetoothLEAdvertisementPublisher,BluetoothLEAdvertisementPublisherStatusChangedEventArgs> StatusChanged;
function onStatusChanged(eventArgs) { /* Your code */ }
bluetoothLEAdvertisementPublisher.addEventListener("statuschanged", onStatusChanged);
bluetoothLEAdvertisementPublisher.removeEventListener("statuschanged", onStatusChanged);
- or -
bluetoothLEAdvertisementPublisher.onstatuschanged = onStatusChanged;
Public Custom Event StatusChanged As TypedEventHandler(Of BluetoothLEAdvertisementPublisher, BluetoothLEAdvertisementPublisherStatusChangedEventArgs)
Event Type
TypedEventHandler<BluetoothLEAdvertisementPublisher,BluetoothLEAdvertisementPublisherStatusChangedEventArgs>
Windows requirements
App capabilities |
bluetooth
|