BluetoothAdapter.IsExtendedAdvertisingSupported 属性

定义

指示适配器是否支持 5.0 扩展广告格式。

public:
 property bool IsExtendedAdvertisingSupported { bool get(); };
bool IsExtendedAdvertisingSupported();
public bool IsExtendedAdvertisingSupported { get; }
var boolean = bluetoothAdapter.isExtendedAdvertisingSupported;
Public ReadOnly Property IsExtendedAdvertisingSupported As Boolean

属性值

Boolean

bool

指示此适配器是否支持扩展播发。

Windows 要求

设备系列
Windows 10, version 2004 (在 10.0.19041.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v10.0 中引入)

注解

扩展广告格式允许进一步自定义广告标头。 有关详细信息,请参阅相关 API。

适用于

另请参阅

  • <xref:Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisher.UseExtendedAdvertisement%0a%0aP%3aWindows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisher.IncludeTransmitPowerLevel%0a%0aP%3aWindows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisher.PreferredTransmitPowerLevelInDBm%0a%0aP%3aWindows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisher.IsAnonymous>