Partager via


BluetoothLEManufacturerData Classe

Définition

Section de données spécifiques au fabricant Bluetooth LE (un type particulier de section de publicité LE). Un paquet de publicité Bluetooth LE peut contenir plusieurs instances de ces objets 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
Héritage
Object Platform::Object IInspectable BluetoothLEManufacturerData
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)
Fonctionnalités de l’application
bluetooth

Constructeurs

BluetoothLEManufacturerData()

Crée un objet BluetoothLEManufacturerData .

BluetoothLEManufacturerData(UInt16, IBuffer)

Crée un objet BluetoothLEManufacturerData avec un code d’identificateur d’entreprise et des données de section spécifiques au fabricant.

Propriétés

CompanyId

Code d’identificateur d’entreprise Bluetooth LE tel que défini par le Groupe d’intérêt spécial (SIG) Bluetooth.

Data

Données de section spécifiques au fabricant Bluetooth LE.

S’applique à

Voir aussi