Delen via


BluetoothLEAdvertisementReceivedEventArgs.IsDirected Property

Definition

Indicates whether the received advertisement is directed.

public:
 property bool IsDirected { bool get(); };
bool IsDirected();
public bool IsDirected { get; }
var boolean = bluetoothLEAdvertisementReceivedEventArgs.isDirected;
Public ReadOnly Property IsDirected As Boolean

Property Value

Boolean

bool

Indicates whether the advertisement is directed. Returns True if it is, otherwise, returns False.

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Remarks

This property is intended to be used on extended advertisements, which are not necessarily directed or undirected.

Applies to