BluetoothDevice.SdpRecordsChanged Kejadian
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Terjadi ketika daftar catatan SDP untuk perangkat telah berubah.
// 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)
Jenis Acara
TypedEventHandler<BluetoothDevice,IInspectable>
Persyaratan Windows
Kemampuan aplikasi |
bluetooth
|
Berlaku untuk
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk