BluetoothLEManufacturerData 類別

定義

藍牙 LE 製造商特定資料區段 (一種特定類型的 LE 廣告區段) 。 藍牙 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 物件。

屬性

CompanyId

藍牙 LE 公司識別碼代碼,由藍牙特殊興趣群組所定義, (SIG) 。

Data

藍牙 LE 製造商特定區段資料。

適用於

另請參閱