Share via


BluetoothLEDevice.ConnectionParametersChanged Event

Definition

An event that's raised when the current connection parameters for the device change. The parameters will update only after a connection to the device has been established.

// Register
event_token ConnectionParametersChanged(TypedEventHandler<BluetoothLEDevice, IInspectable const&> const& handler) const;

// Revoke with event_token
void ConnectionParametersChanged(event_token const* cookie) const;

// Revoke with event_revoker
BluetoothLEDevice::ConnectionParametersChanged_revoker ConnectionParametersChanged(auto_revoke_t, TypedEventHandler<BluetoothLEDevice, IInspectable const&> const& handler) const;
public event TypedEventHandler<BluetoothLEDevice,object> ConnectionParametersChanged;
function onConnectionParametersChanged(eventArgs) { /* Your code */ }
bluetoothLEDevice.addEventListener("connectionparameterschanged", onConnectionParametersChanged);
bluetoothLEDevice.removeEventListener("connectionparameterschanged", onConnectionParametersChanged);
- or -
bluetoothLEDevice.onconnectionparameterschanged = onConnectionParametersChanged;
Public Custom Event ConnectionParametersChanged As TypedEventHandler(Of BluetoothLEDevice, Object) 

Event Type

Windows requirements

Requirements Description
Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)
App capabilities
bluetooth

Applies to