BluetoothDevice.NameChanged 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.
Occurs when the name of the device has changed.
// Register
event_token NameChanged(TypedEventHandler<BluetoothDevice, IInspectable const&> const& handler) const;
// Revoke with event_token
void NameChanged(event_token const* cookie) const;
// Revoke with event_revoker
BluetoothDevice::NameChanged_revoker NameChanged(auto_revoke_t, TypedEventHandler<BluetoothDevice, IInspectable const&> const& handler) const;
public event TypedEventHandler<BluetoothDevice,object> NameChanged;
function onNameChanged(eventArgs) { /* Your code */ }
bluetoothDevice.addEventListener("namechanged", onNameChanged);
bluetoothDevice.removeEventListener("namechanged", onNameChanged);
- or -
bluetoothDevice.onnamechanged = onNameChanged;
Public Custom Event NameChanged As TypedEventHandler(Of BluetoothDevice, Object)
Event Type
TypedEventHandler<BluetoothDevice,IInspectable>
Windows requirements
App capabilities |
bluetooth
|