다음을 통해 공유


BluetoothLEAdvertisementWatcher.Stopped 이벤트

정의

앱에서 또는 오류로 인해 Bluetooth LE 광고 검색이 취소되거나 중단되었음을 앱에 알릴 수 있습니다.

// Register
event_token Stopped(TypedEventHandler<BluetoothLEAdvertisementWatcher, BluetoothLEAdvertisementWatcherStoppedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
BluetoothLEAdvertisementWatcher::Stopped_revoker Stopped(auto_revoke_t, TypedEventHandler<BluetoothLEAdvertisementWatcher, BluetoothLEAdvertisementWatcherStoppedEventArgs const&> const& handler) const;
public event TypedEventHandler<BluetoothLEAdvertisementWatcher,BluetoothLEAdvertisementWatcherStoppedEventArgs> Stopped;
function onStopped(eventArgs) { /* Your code */ }
bluetoothLEAdvertisementWatcher.addEventListener("stopped", onStopped);
bluetoothLEAdvertisementWatcher.removeEventListener("stopped", onStopped);
- or -
bluetoothLEAdvertisementWatcher.onstopped = onStopped;
Public Custom Event Stopped As TypedEventHandler(Of BluetoothLEAdvertisementWatcher, BluetoothLEAdvertisementWatcherStoppedEventArgs) 

이벤트 유형

Windows 요구 사항

앱 기능
bluetooth

적용 대상

추가 정보