Поделиться через


BluetoothLEManufacturerData Класс

Определение

Раздел данных производителя Bluetooth LE (один конкретный тип раздела объявления о le). Пакет объявления Bluetooth LE может содержать несколько экземпляров этих объектов BluetoothLEManufacturerData.

public ref class BluetoothLEManufacturerData sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Bluetooth.Advertisement.IBluetoothLEManufacturerDataFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BluetoothLEManufacturerData final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Bluetooth.Advertisement.IBluetoothLEManufacturerDataFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class BluetoothLEManufacturerData final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Bluetooth.Advertisement.IBluetoothLEManufacturerDataFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BluetoothLEManufacturerData
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Bluetooth.Advertisement.IBluetoothLEManufacturerDataFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class BluetoothLEManufacturerData
function BluetoothLEManufacturerData(companyId, data)
Public NotInheritable Class BluetoothLEManufacturerData
Наследование
Object Platform::Object IInspectable BluetoothLEManufacturerData
Атрибуты

Требования к Windows

Семейство устройств
Windows 10 (появилось в 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (появилось в v1.0)
Возможности приложения
bluetooth

Конструкторы

BluetoothLEManufacturerData()

Создает объект BluetoothLEManufacturerData .

BluetoothLEManufacturerData(UInt16, IBuffer)

Создает новый объект BluetoothLEManufacturerData с кодом идентификатора компании и данными раздела, относящиеся к manufacterer.

Свойства

CompanyId

Код идентификатора компании Bluetooth LE в соответствии с определением Bluetooth Special Interest Group (SIG).

Data

Данные разделов, относящихся к производителю Bluetooth LE.

Применяется к

См. также раздел