共用方式為


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>