Share via


BluetoothDevice.SdpRecordsChanged Event

Definition

Occurs when the list SDP records for the device has changed.

// Register
event_token SdpRecordsChanged(TypedEventHandler<BluetoothDevice, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
BluetoothDevice::SdpRecordsChanged_revoker SdpRecordsChanged(auto_revoke_t, TypedEventHandler<BluetoothDevice, IInspectable const&> const& handler) const;
public event TypedEventHandler<BluetoothDevice,object> SdpRecordsChanged;
function onSdpRecordsChanged(eventArgs) { /* Your code */ }
bluetoothDevice.addEventListener("sdprecordschanged", onSdpRecordsChanged);
bluetoothDevice.removeEventListener("sdprecordschanged", onSdpRecordsChanged);
- or -
bluetoothDevice.onsdprecordschanged = onSdpRecordsChanged;
Public Custom Event SdpRecordsChanged As TypedEventHandler(Of BluetoothDevice, Object) 

Event Type

Windows requirements

App capabilities
bluetooth

Applies to