Compartilhar via


BluetoothLEManufacturerData Classe

Definição

Uma seção de dados específica do fabricante do Bluetooth LE (um tipo específico de seção de anúncio le). Um pacote de anúncios Bluetooth LE pode conter várias instâncias desses objetos 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
Herança
Object Platform::Object IInspectable BluetoothLEManufacturerData
Atributos

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v1.0)
Funcionalidades do aplicativo
bluetooth

Construtores

BluetoothLEManufacturerData()

Cria um novo objeto BluetoothLEManufacturerData .

BluetoothLEManufacturerData(UInt16, IBuffer)

Cria um novo objeto BluetoothLEManufacturerData com um código de identificador da empresa e dados de seção específicos do manufacterer.

Propriedades

CompanyId

O código do identificador da empresa Bluetooth LE, conforme definido pelo SIG (Grupo de Interesse Especial) bluetooth.

Data

Dados de seção específicos do fabricante do Bluetooth LE.

Aplica-se a

Confira também