BluetoothLEAdvertisementBytePattern 构造函数

定义

重载

BluetoothLEAdvertisementBytePattern()

创建新的 BluetoothLEAdvertisementBytePattern 对象。

BluetoothLEAdvertisementBytePattern(Byte, Int16, IBuffer)

创建一个新的 BluetoothLEAdvertisementBytePattern 对象,该对象具有要匹配的广告数据类型、要匹配的广告数据字节模式以及字节模式与播发数据部分开头的偏移量。

BluetoothLEAdvertisementBytePattern()

public:
 BluetoothLEAdvertisementBytePattern();
 BluetoothLEAdvertisementBytePattern();
public BluetoothLEAdvertisementBytePattern();
function BluetoothLEAdvertisementBytePattern()
Public Sub New ()

Windows 要求

应用功能
bluetooth

另请参阅

适用于

BluetoothLEAdvertisementBytePattern(Byte, Int16, IBuffer)

创建一个新的 BluetoothLEAdvertisementBytePattern 对象,该对象具有要匹配的广告数据类型、要匹配的广告数据字节模式以及字节模式与播发数据部分开头的偏移量。

public:
 BluetoothLEAdvertisementBytePattern(byte dataType, short offset, IBuffer ^ data);
 BluetoothLEAdvertisementBytePattern(byte const& dataType, short const& offset, IBuffer const& data);
public BluetoothLEAdvertisementBytePattern(byte dataType, short offset, IBuffer data);
function BluetoothLEAdvertisementBytePattern(dataType, offset, data)
Public Sub New (dataType As Byte, offset As Short, data As IBuffer)

参数

dataType
Byte

byte

要匹配的蓝牙 LE 播发数据类型。

offset
Int16

short

字节模式从播发数据部分开头的偏移量。

data
IBuffer

要匹配的蓝牙 LE 播发数据字节模式。

Windows 要求

应用功能
bluetooth

另请参阅

适用于