Share via


BluetoothLEAdvertisement.GetManufacturerDataByCompanyId(UInt16) Method

Definition

Return a list of all manufacturer data sections in the BluetoothLEAdvertisement payload matching the specified company ID.

public:
 virtual IVectorView<BluetoothLEManufacturerData ^> ^ GetManufacturerDataByCompanyId(unsigned short companyId) = GetManufacturerDataByCompanyId;
IVectorView<BluetoothLEManufacturerData> GetManufacturerDataByCompanyId(uint16_t const& companyId);
public IReadOnlyList<BluetoothLEManufacturerData> GetManufacturerDataByCompanyId(ushort companyId);
function getManufacturerDataByCompanyId(companyId)
Public Function GetManufacturerDataByCompanyId (companyId As UShort) As IReadOnlyList(Of BluetoothLEManufacturerData)

Parameters

companyId
UInt16

unsigned short

uint16_t

The company identifier code defined by the Bluetooth Special Interest Group (SIG).

Returns

A vector of BluetoothLEManufacturerData contained within the payload.

Windows requirements

App capabilities
bluetooth

Applies to

See also