Share via


BluetoothLEAdvertisementReceivedEventArgs 클래스

정의

BluetoothLEAdvertisementWatcher에서 Received 이벤트에 대한 데이터를 제공합니다. BluetoothLEAdvertisementReceivedEventArgs instance BluetoothLEAdvertisementWatcher 개체에서 Received 이벤트가 발생할 때 만들어집니다.

public ref class BluetoothLEAdvertisementReceivedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BluetoothLEAdvertisementReceivedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BluetoothLEAdvertisementReceivedEventArgs
Public NotInheritable Class BluetoothLEAdvertisementReceivedEventArgs
상속
Object Platform::Object IInspectable BluetoothLEAdvertisementReceivedEventArgs
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)
앱 기능
bluetooth

설명

BluetoothSignalStrengthFilter당 디바이스 신호가 범위를 벗어나면 RawSignalStrengthInDBm 값이 -127로 설정된 광고 데이터를 포함하는 "범위를 벗어난" 이벤트가 전송됩니다.

버전 기록

Windows 버전 SDK 버전 추가된 값
2004 19041 BluetoothAddressType
2004 19041 IsAnonymous
2004 19041 IsConnectable
2004 19041 IsDirected
2004 19041 IsScannable
2004 19041 IsScanResponse
2004 19041 TransmitPowerLevelInDBm

속성

Advertisement

받은 Bluetooth LE 광고 페이로드 데이터를 가져옵니다.

AdvertisementType

받은 Bluetooth LE 광고 패킷의 유형을 가져옵니다.

BluetoothAddress

Bluetooth LE 광고를 보내는 디바이스의 Bluetooth 주소를 가져옵니다.

BluetoothAddressType

수신된 광고의 Bluetooth 주소 유형을 검색합니다.

IsAnonymous

받은 광고에서 Bluetooth 주소를 생략했는지 여부를 나타냅니다.

IsConnectable

수신된 광고를 연결할 수 있는지 여부를 나타냅니다.

IsDirected

수신된 보급 알림의 지시 여부를 나타냅니다.

IsScannable

수신된 광고를 스캔할 수 있는지 여부를 나타냅니다.

IsScanResponse

수신된 보급 알림이 검사 응답인지 여부를 나타냅니다.

RawSignalStrengthInDBm

수신된 Bluetooth LE 광고 이벤트에 대한 수신된 RSSI(신호 강도 표시기) 값을 dBm으로 가져옵니다. 이 값은 BluetoothSignalStrengthFilter를 통해 구성된 필터링 설정에 따라 원시 RSSI 또는 필터링된 RSSI일 수 있습니다.

Timestamp

Received 이벤트가 발생한 타임스탬프를 가져옵니다.

TransmitPowerLevelInDBm

보급 알림의 수신된 전송 능력을 나타냅니다.

적용 대상

추가 정보