Dela via


BluetoothAdapter.MaxAdvertisementDataLength Property

Definition

Indicates the maximum length of an advertisement that can be published by this adapter.

public:
 property unsigned int MaxAdvertisementDataLength { unsigned int get(); };
uint32_t MaxAdvertisementDataLength();
public uint MaxAdvertisementDataLength { get; }
var uInt32 = bluetoothAdapter.maxAdvertisementDataLength;
Public ReadOnly Property MaxAdvertisementDataLength As UInteger

Property Value

UInt32

unsigned int

uint32_t

The maximum advertisement length of this adapter.

Windows requirements

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

Applies to